修改屏幕亮度和图标
diff --git a/platforms/android/android.json b/platforms/android/android.json
index 476c50e..2b20a7d 100644
--- a/platforms/android/android.json
+++ b/platforms/android/android.json
@@ -59,6 +59,10 @@
{
"xml": "<feature name=\"AppVersion\"><param name=\"android-package\" value=\"uk.co.whiteoctober.cordova.AppVersion\" /></feature>",
"count": 1
+ },
+ {
+ "xml": "<feature name=\"Brightness\"><param name=\"android-package\" value=\"org.apache.cordova.plugin.Brightness.BrightnessPlugin\" /></feature>",
+ "count": 1
}
]
}
@@ -307,6 +311,9 @@
},
"cordova-plugin-wkwebview-engine": {
"PACKAGE_NAME": "com.dalicitycard.app"
+ },
+ "cordova-plugin-brightness": {
+ "PACKAGE_NAME": "com.dalicitycard.app"
}
},
"dependent_plugins": {},
@@ -646,6 +653,14 @@
"clobbers": [
"cordova.getAppVersion"
]
+ },
+ {
+ "id": "cordova-plugin-brightness.Brightness",
+ "file": "plugins/cordova-plugin-brightness/www/brightness.js",
+ "pluginId": "cordova-plugin-brightness",
+ "clobbers": [
+ "cordova.plugins.brightness"
+ ]
}
],
"plugin_metadata": {
@@ -665,6 +680,7 @@
"cordova-plugin-jcore": "1.3.0",
"jpush-phonegap-plugin": "3.7.2",
"cordova-plugin-app-version": "0.1.9",
- "cordova-plugin-wkwebview-engine": "1.2.1"
+ "cordova-plugin-wkwebview-engine": "1.2.1",
+ "cordova-plugin-brightness": "0.1.5"
}
}