Commit 4ddd5f13 authored by Eric Seigne's avatar Eric Seigne
Browse files

adaptation ios

parent 947c0994
......@@ -9,7 +9,7 @@ cordova platform remove android
cordova plugin remove cordova-plugin-image-cropper
cordova platform add ios@5.1.1
cordova plugin add cordova-plugin-crop
cordova plugin add cordova-plugin-wkwebview-engine
# pour le futur cordova plugin add cordova-plugin-wkwebview-engine
cordova prepare ios
cordova build ios
......@@ -37,11 +37,13 @@
<allow-intent href="itms-apps:*" />
<preference name="BackupWebStorage" value="local" />
<preference name="iosPersistentFileLocation" value="Library" />
<!-- pour le futur ... a tester
<preference name="WKWebViewOnly" value="true" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
<plugin name="cordova-plugin-insomnia" spec="^4.3.0" />
......@@ -57,7 +59,7 @@
<edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryAddUsageDescription">
<string>Please pick a pictures of your invoice / receipt</string>
<preference name="OverrideUserAgent" value="Mozilla/5.0 OpenNDF/1.0.16 Android" />
<preference name="OverrideUserAgent" value="Mozilla/5.0 OpenNDF/1.0.17 iOS" />
<plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.4" />
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment