Commit 01d33ad1 authored by Eric Seigne's avatar Eric Seigne
Browse files

tentative d'upgrade cordova pour ios

parent 22f55b7a
......@@ -7,8 +7,9 @@ sed -i -e s%".*preference name=\"OverrideUserAgent\" value=\".*"%" <preferenc
#on a deux plugins differents pour decouper les images selon qu'on est avec android ou ios
cordova platform remove android
cordova plugin remove cordova-plugin-image-cropper
cordova platform add ios
cordova platform add ios@5.1.1
cordova plugin add cordova-plugin-crop
cordova plugin add cordova-plugin-wkwebview-engine
cordova prepare ios
cordova build ios
......
......@@ -37,7 +37,13 @@
<allow-intent href="itms-apps:*" />
<preference name="BackupWebStorage" value="local" />
<preference name="iosPersistentFileLocation" value="Library" />
<preference name="WKWebViewOnly" value="true" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
</platform>
<plugin name="cordova-plugin-insomnia" spec="^4.3.0" />
<edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
<string>Please take a pictures of your invoice / receipt</string>
......
......@@ -365,9 +365,9 @@
"from": "git+https://github.com/Riyaz0001/cordova-plugin-image-cropper.git"
},
"cordova-plugin-inappbrowser": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-inappbrowser/-/cordova-plugin-inappbrowser-3.1.0.tgz",
"integrity": "sha512-YqrZfYgbGTS20SFID0mrRxud312VH072QVlFonCAkPgtGg1Svy7lELOCNFd+KU7t4mVtZeTEjZPEeefvjaetwQ=="
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-inappbrowser/-/cordova-plugin-inappbrowser-3.2.0.tgz",
"integrity": "sha512-tYsK0H9M8POmJTVnfyIsiRgoOxnypa9IQIbf/Hsgi7vbgUYRHtBUfvXwq4RhMqLIVrCeJLXF2hTXTDNY0a/eTA=="
},
"cordova-plugin-insomnia": {
"version": "4.3.0",
......
......@@ -21,7 +21,7 @@
"cordova-plugin-file-opener2": "3.0.0",
"cordova-plugin-fullscreen": "1.2.0",
"cordova-plugin-image-cropper": "git+https://github.com/Riyaz0001/cordova-plugin-image-cropper.git",
"cordova-plugin-inappbrowser": "^3.1.0",
"cordova-plugin-inappbrowser": "^3.2.0",
"cordova-plugin-insomnia": "^4.3.0",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-sqlite-storage": "3.4.1",
......@@ -56,4 +56,4 @@
"android"
]
}
}
\ No newline at end of file
}
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