|
@@ -25,20 +25,23 @@
|
|
/* android打包配置 */
|
|
/* android打包配置 */
|
|
"android" : {
|
|
"android" : {
|
|
"permissions" : [
|
|
"permissions" : [
|
|
- "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
|
|
|
- "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
|
|
|
- "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
|
|
|
- "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
|
|
|
- "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
|
|
|
|
|
+ "<uses-feature android:name=\"android.hardware.camera\"/>",
|
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
|
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
|
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
|
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
|
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
|
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
|
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
|
|
|
+ "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
|
- "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
|
|
|
|
|
+ "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
|
- "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
|
|
|
- "<uses-feature android:name=\"android.hardware.camera\"/>",
|
|
|
|
|
|
+ "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
|
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -51,7 +54,9 @@
|
|
"alipay" : {
|
|
"alipay" : {
|
|
"__platform__" : [ "ios", "android" ]
|
|
"__platform__" : [ "ios", "android" ]
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ "push" : {},
|
|
|
|
+ "share" : {}
|
|
},
|
|
},
|
|
"splashscreen" : {
|
|
"splashscreen" : {
|
|
"androidStyle" : "default",
|
|
"androidStyle" : "default",
|