添加极光推送插件
diff --git a/config.xml b/config.xml
index a20cd9e..4b754cd 100644
--- a/config.xml
+++ b/config.xml
@@ -7,10 +7,9 @@
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
- <preference name="AutoHideSplashScreen" value="true"/>
- <preference name="SplashScreenDelay" value="0"/>
+ <preference name="AutoHideSplashScreen" value="true" />
+ <preference name="SplashScreenDelay" value="0" />
<preference name="SplashShowOnlyFirstTime" value="true" />
-
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
@@ -19,19 +18,16 @@
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
-
<allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" />
<allow-navigation href="data:*" />
<access origin="http://ip*" />
-
<preference name="ErrorUrl" value="error.html" />
<preference name="Orientation" value="portrait" />
<preference name="UseSwiftLanguageVersion" value="4.0" />
<preference name="DisallowOverscroll" value="true" />
<preference name="UIWebViewBounce" value="false" />
- <preference name="BackupWebStorage" value="local"/>
-
+ <preference name="BackupWebStorage" value="local" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
@@ -42,19 +38,24 @@
<feature name="TouchID">
<param name="ios-package" value="TouchID" />
</feature>
+ <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
+ <string>APP需要使用您的相机权限,没有该权限将无法完成扫一扫功能</string>
+ </edit-config>
<plugin name="cordova-plugin-fingerprint-aio" spec="~1.7.0">
<variable name="FACEID_USAGE_DESCRIPTION" value="认证中..." />
</plugin>
<plugin name="cordova-plugin-touch-id" spec="~3.3.1">
<variable name="FACEID_USAGE_DESCRIPTION" value=" " />
</plugin>
- <plugin name="cordova-plugin-whitelist" spec="1" />
+ <plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-advanced-http" spec="~2.1.1">
<variable name="OKHTTP_VERSION" value="3.10.0" />
</plugin>
-
- <plugin name="cordova-plugin-statusbar" spec="~2.4.2" />
- <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
- <string>APP需要使用您的相机权限,没有该权限将无法完成扫一扫功能</string>
- </edit-config>
+ <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
+ <plugin name="cordova-plugin-disable-ios11-statusbar" spec="~1.0.0" />
+ <plugin name="cordova-plugin-qrscanner" spec="^3.0.1" />
+ <plugin name="cordova-plugin-camera" spec="~4.0.3" />
+ <plugin name="cordova-plugin-inappbrowser" spec="~3.0.0" />
+ <plugin name="cordova-plugin-device" spec="~2.0.2" />
+ <plugin name="cordova-plugin-themeablebrowser" spec="~0.2.17" />
</widget>