diff options
Diffstat (limited to 'config.xml')
| -rw-r--r-- | config.xml | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<widget android-packageName="com.pliablepixels.zmninja_pro" id="com.pliablepixels.zmninja_pro" ios-CFBundleIdentifier="com.pliablepixels.zmninja-pro" version="1.3.025" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget android-packageName="com.pliablepixels.zmninja_pro" id="com.pliablepixels.zmninja_pro" ios-CFBundleIdentifier="com.pliablepixels.zmninja-pro" version="1.3.025" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>zmNinja</name> <description> High performance ZoneMinder client @@ -8,10 +8,13 @@ Pliable Pixels </author> <content src="index.html" /> + <allow-navigation href="localhost:8080/*" /> + <allow-navigation href="gap://ready" /> <access launch-external="yes" origin="mailto:*" /> <access allows-arbitrary-loads-for-media="true" allows-arbitrary-loads-in-web-content="true" allows-local-networking="true" origin="*" /> <allow-intent href="mailto:*" /> - <allow-navigation href="http://localhost:8080/*" /> + <allow-intent href="http://*/*" /> + <allow-intent href="https://*/*" /> <preference name="KeyboardResizeMode" value="native" /> <preference name="xwalkMultipleApk" value="true" /> <preference name="AndroidPersistentFileLocation" value="Compatibility" /> @@ -26,7 +29,7 @@ <preference name="AutoHideSplashScreen" value="false" /> <preference name="ShowSplashScreenSpinner" value="false" /> <preference name="SplashScreen" value="screen" /> - <preference name="deployment-target" value="8.0" /> + <preference name="deployment-target" value="10.0" /> <preference name="SplashScreenDelay" value="300" /> <preference name="SplashMaintainAspectRatio" value="true" /> <preference name="FadeSplashScreen" value="false" /> @@ -87,6 +90,9 @@ <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> </platform> <platform name="android"> + <config-file parent="/*" target="AndroidManifest.xml"> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + </config-file> <resource-file src="build-extras.gradle" target="build-extras.gradle" /> <resource-file src="google-services.json" target="google-services.json" /> <preference name="android-manifest/@android:installLocation" value="auto" /> @@ -123,9 +129,6 @@ <plugin name="cordova-plugin-globalization" spec="^1.0.7" /> <plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" /> <plugin name="cordova-plugin-insomnia" spec="^4.3.0" /> - <plugin name="cordova-plugin-photo-library" spec="^1.2.2"> - <variable name="PHOTO_LIBRARY_USAGE_DESCRIPTION" value="images to gallery" /> - </plugin> <plugin name="cordova-plugin-pin-dialog" spec="^0.1.3" /> <plugin name="cordova-plugin-settings-hook" spec="^0.2.7" /> <plugin name="cordova-plugin-splashscreen" spec="^4.0.3" /> @@ -154,10 +157,13 @@ <variable name="FCM_VERSION" value="11.6.2" /> </plugin> <plugin name="cordova-plugin-ionic-keyboard" spec="^2.1.2" /> + <plugin name="cordova-plugin-photo-library" spec="git+https://github.com/pliablepixels/cordova-plugin-photo-library.git"> + <variable name="PHOTO_LIBRARY_USAGE_DESCRIPTION" value="Save image alarms todisk" /> + </plugin> <plugin name="cordova-plugin-ionic-webview" spec="^2.1.4"> <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" /> </plugin> <plugin name="cordova-plugin-certificates" spec="^0.6.4" /> <engine name="ios" spec="~4.5.5" /> - <engine name="android" spec="~6.4.0" /> + <engine name="android" spec="^6.4.0" /> </widget> |
