屏幕截屏
diff --git a/platforms/android/android.json b/platforms/android/android.json
index eb6d7bb..8d319b4 100644
--- a/platforms/android/android.json
+++ b/platforms/android/android.json
@@ -63,6 +63,10 @@
{
"xml": "<feature name=\"Fingerprint\"><param name=\"android-package\" value=\"de.niklasmerz.cordova.biometric.Fingerprint\" /></feature>",
"count": 1
+ },
+ {
+ "xml": "<feature name=\"screenshotName\"><param name=\"android-package\" value=\"com.coffice.ScreenshotBlocker\" /><param name=\"onload\" value=\"true\" /></feature>",
+ "count": 1
}
]
}
@@ -322,6 +326,9 @@
},
"cordova-plugin-fingerprint-aio": {
"PACKAGE_NAME": "com.dalipolice.app"
+ },
+ "cordova-plugin-prevent-screenshot-coffice": {
+ "PACKAGE_NAME": "com.dalipolice.app"
}
},
"dependent_plugins": {},
@@ -669,6 +676,14 @@
"clobbers": [
"Fingerprint"
]
+ },
+ {
+ "id": "cordova-plugin-prevent-screenshot-coffice.screenshot",
+ "file": "plugins/cordova-plugin-prevent-screenshot-coffice/www/screenshot.js",
+ "pluginId": "cordova-plugin-prevent-screenshot-coffice",
+ "clobbers": [
+ "window.plugins.preventscreenshot"
+ ]
}
],
"plugin_metadata": {
@@ -689,6 +704,7 @@
"cordova-plugin-app-version": "0.1.9",
"cordova-plugin-wkwebview-engine": "1.2.1",
"cordova-plugin-brightness": "0.1.5",
- "cordova-plugin-fingerprint-aio": "3.0.1"
+ "cordova-plugin-fingerprint-aio": "3.0.1",
+ "cordova-plugin-prevent-screenshot-coffice": "1.0.1"
}
}