From: qiaowei Date: Thu, 26 Sep 2019 03:15:57 +0000 (+0800) Subject: 解决安卓扫码问题 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=22e23f87b12458d2a2082f95dee7ccd0ddc943f9;p=dali_platform%2Fmobile.git 解决安卓扫码问题 --- diff --git a/config.xml b/config.xml index 4b754cd..4a21478 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + dlapp A sample Apache Cordova application that responds to the deviceready event. @@ -28,6 +28,7 @@ + @@ -41,6 +42,14 @@ APP需要使用您的相机权限,没有该权限将无法完成扫一扫功能 + + APP需要使用您的相册权限,没有该权限将无法完成扫一扫功能 + + + + + + @@ -58,4 +67,8 @@ + + + + diff --git a/package-lock.json b/package-lock.json index 092a907..ad4f7f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "com.supwisdom.dlapp", - "version": "1.0.0", + "version": "1.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -269,6 +269,11 @@ "resolved": "https://registry.npmjs.org/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-2.1.1.tgz", "integrity": "sha512-C8NQ5+PsUOqDCEzlhhTP9pIHizK/O9rVcdNU3+psfU/4mg5heiEVj/E3AS2TSjMo2wef1xw8yempSKETzuRGig==" }, + "cordova-plugin-app-version": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/cordova-plugin-app-version/-/cordova-plugin-app-version-0.1.9.tgz", + "integrity": "sha1-nbBgeGMzenEEiTAuX1CpBPFEm9s=" + }, "cordova-plugin-camera": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-4.0.3.tgz", @@ -337,6 +342,11 @@ "integrity": "sha1-tehezbv+Wu3tQKG/TuI3LmfZb7Q=", "dev": true }, + "cordova-plugin-wkwebview-engine": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/cordova-plugin-wkwebview-engine/-/cordova-plugin-wkwebview-engine-1.2.1.tgz", + "integrity": "sha512-usp6pu+tJ1y0btVAXOjE5+tMjbvTY6hsiLfHJPMdyzkgHvxoNSePZ/NavTGj4CBJJlUjnMsN3TUq25+SeTZCow==" + }, "cordova-serve": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cordova-serve/-/cordova-serve-3.0.0.tgz", diff --git a/package.json b/package.json index 4ca4c6f..649c3ea 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.supwisdom.dlapp", "displayName": "大理市民卡", - "version": "1.0.0", + "version": "1.0.3", "description": "A sample Apache Cordova application that responds to the deviceready event.", "main": "index.js", "scripts": { @@ -17,6 +17,7 @@ "cordova-browser": "^6.0.0", "cordova-ios": "^5.0.1", "cordova-plugin-advanced-http": "^2.1.1", + "cordova-plugin-app-version": "^0.1.9", "cordova-plugin-camera": "^4.0.3", "cordova-plugin-device": "^2.0.2", "cordova-plugin-disable-ios11-statusbar": "^1.0.0", @@ -28,6 +29,7 @@ "cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-themeablebrowser": "^0.2.18", "cordova-plugin-touch-id": "^3.4.0", + "cordova-plugin-wkwebview-engine": "^1.2.1", "jpush-phonegap-plugin": "^3.7.2" }, "cordova": { @@ -48,9 +50,11 @@ "cordova-plugin-device": {}, "cordova-plugin-themeablebrowser": {}, "jpush-phonegap-plugin": { - "APP_KEY": "bd22b85f247a6e2ca307d3c5", + "APP_KEY": "d644d997f2cab0551ff704a3", "CHANNEL": "developer-default" - } + }, + "cordova-plugin-app-version": {}, + "cordova-plugin-wkwebview-engine": {} }, "platforms": [ "android", diff --git a/platforms/android/CordovaLib/AndroidManifest.xml b/platforms/android/CordovaLib/AndroidManifest.xml index 1625b89..320c253 100755 --- a/platforms/android/CordovaLib/AndroidManifest.xml +++ b/platforms/android/CordovaLib/AndroidManifest.xml @@ -19,5 +19,4 @@ --> - diff --git a/platforms/android/CordovaLib/CordovaLib.iml b/platforms/android/CordovaLib/CordovaLib.iml index b80b08f..da4f936 100644 --- a/platforms/android/CordovaLib/CordovaLib.iml +++ b/platforms/android/CordovaLib/CordovaLib.iml @@ -15,6 +15,7 @@ generateDebugSources