diff options
Diffstat (limited to 'config.xml')
| -rw-r--r-- | config.xml | 45 |
1 files changed, 31 insertions, 14 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.026" 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,14 @@ 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="*" /> + <allow-intent href="http://*/*" /> + <allow-intent href="https://*/*" /> + <preference name="KeyboardResizeMode" value="native" /> <preference name="xwalkMultipleApk" value="true" /> <preference name="AndroidPersistentFileLocation" value="Compatibility" /> <preference name="iosPersistentFileLocation" value="Library" /> @@ -25,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" /> @@ -36,7 +40,17 @@ <param name="ios-package" onload="true" value="CDVStatusBar" /> </feature> <platform name="ios"> + <feature name="CDVWKWebViewEngine"> + <param name="ios-package" value="CDVWKWebViewEngine" /> + </feature> + <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" /> <resource-file src="GoogleService-Info.plist" /> + <config-file parent="NSAppTransportSecurity" target="*-Info.plist"> + <dict> + <key>NSAllowsArbitraryLoads</key> + <true /> + </dict> + </config-file> <config-file parent="NSPhotoLibraryAddUsageDescription" platform="ios" target="*-Info.plist"> <string>Store photos of events and live feeds</string> </config-file> @@ -82,6 +96,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" /> @@ -108,7 +125,6 @@ <icon src="resources/android/icon/drawable-xhdpi-icon.png" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <plugin name="cordova-plugin-add-swift-support" spec="^1.7.2" /> - <plugin name="com.telerik.plugins.nativepagetransitions" spec="^0.6.5" /> <plugin name="cordova-plugin-android-permissions" spec="^1.0.0" /> <plugin name="cordova-plugin-app-version" spec="^0.1.9" /> <plugin name="cordova-plugin-customurlscheme" spec="^4.3.0"> @@ -118,9 +134,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" /> @@ -133,23 +146,27 @@ <plugin name="cordova-plugin-network-information" spec="^2.0.1" /> <plugin name="cordova-plugin-device" spec="^2.0.1" /> <plugin name="cordova-plugin-file" spec="^6.0.1" /> - <plugin name="cordova-plugin-canvas2image-pp-fork" spec="^0.6.0"> - <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value=" " /> - </plugin> <plugin name="cordova-plugin-media-pp-fork" spec="^1.0.2-dev" /> <plugin name="cordova-plugin-email" spec="^1.2.7" /> <plugin name="cordova-plugin-statusbar" spec="^2.4.2" /> <plugin name="cordova-library-helper-pp-fork" spec="^1.0.1" /> <plugin name="cordova-plugin-multi-window" spec="0.0.3" /> <plugin name="cordova-plugin-ignore-lint-translation" spec="0.0.1" /> - <plugin name="cordova-plugin-ionic-keyboard" spec="^2.1.2" /> <plugin name="cordova-plugin-cloud-settings" spec="^1.0.4"> <variable name="ANDROID_BACKUP_SERVICE_KEY" value="AEdPqrEAAAAIqF-OaHdwIzZhx2L1WOfAGTagBxm5a1R4wBW_Uw" /> </plugin> - <plugin name="phonegap-plugin-push" spec="^2.1.3"> + <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-advanced-http" spec="^2.0.1" /> + <plugin name="phonegap-plugin-push" spec="~2.1.3"> <variable name="FCM_VERSION" value="11.6.2" /> </plugin> - <plugin name="cordova-plugin-certificates" spec="^0.6.4" /> - <engine name="android" spec="^6.3.0" /> + <plugin name="cordova-plugin-ionic-webview" spec="https://github.com/pliablepixels/cordova-plugin-ionic-webview.git"> + <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" /> + </plugin> + <plugin name="cordova-plugin-advanced-websocket" spec="^1.1.3" /> + <engine name="android" spec="^6.4.0" /> <engine name="ios" spec="~4.5.5" /> </widget> |
