diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | config.xml-example | 113 |
2 files changed, 57 insertions, 57 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d36942..8da9759 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,3 +6,4 @@ - iPhone X support. #259 - Development improvements - CONFIG.SKIP_CONFIRM_REPORT flag to skip confirmation screen + - Ensure compatibility with latest Cordova versions. diff --git a/config.xml-example b/config.xml-example index f472696..e5dc937 100644 --- a/config.xml-example +++ b/config.xml-example @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<widget android-versionCode="42" id="org.mysociety.FixMyStreet" version="2.0.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget id="org.mysociety.FixMyStreet" version="2.1" ios-CFBundleVersion="2.1.20180425.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>FixMyStreet</name> <description> Report problems on FixMyStreet @@ -51,63 +51,62 @@ <splash density="xxhdpi" src="res/android/drawable-xxhdpi/screen.9.png" /> <splash density="xxxhdpi" src="res/android/drawable-xxxhdpi/screen.9.png" /> </platform> - <platform name="ios"> - <!-- iOS 8.0+ --> - <!-- iPhone 6 Plus --> - <icon src="res/ios/icons/Icon-60@3x.png" width="180" height="180" /> - <!-- iOS 7.0+ --> - <!-- iPhone / iPod Touch --> - <icon src="res/ios/icons/Icon-60.png" width="60" height="60" /> - <icon src="res/ios/icons/Icon-60@2x.png" width="120" height="120" /> - <!-- iPad --> - <icon src="res/ios/icons/Icon-76.png" width="76" height="76" /> - <icon src="res/ios/icons/Icon-76@2x.png" width="152" height="152" /> - <!-- iOS 6.1 --> - <!-- Spotlight Icon --> - <icon src="res/ios/icons/Icon-40.png" width="40" height="40" /> - <icon src="res/ios/icons/Icon-40@2x.png" width="80" height="80" /> - <!-- iPhone / iPod Touch --> - <icon src="res/ios/icons/Icon.png" width="57" height="57" /> - <icon src="res/ios/icons/Icon@2x.png" width="114" height="114" /> - <!-- iPad --> - <icon src="res/ios/icons/Icon-72.png" width="72" height="72" /> - <icon src="res/ios/icons/Icon-72@2x.png" width="144" height="144" /> - <!-- iPhone Spotlight and Settings Icon --> - <icon src="res/ios/icons/Icon-Small.png" width="29" height="29" /> - <icon src="res/ios/icons/Icon-Small@2x.png" width="58" height="58" /> - <!-- iPad Spotlight and Settings Icon --> - <icon src="res/ios/icons/Icon-50.png" width="50" height="50" /> - <icon src="res/ios/icons/Icon-50@2x.png" width="100" height="100" /> - <splash src="res/ios/splash/Default~iphone.png" width="320" height="480"/> - <splash src="res/ios/splash/Default@2x~iphone_640x960.png" width="640" height="960"/> - <splash src="res/ios/splash/Default-Portrait~ipad_768x1024.png" width="768" height="1024"/> - <splash src="res/ios/splash/Default-Portrait@2x~ipad_1536x2048.png" width="1536" height="2048"/> - <splash src="res/ios/splash/Default-Portrait@2x~ipad_1536x2008.png" width="1536" height="2008"/> - <splash src="res/ios/splash/Default-568h@2x~iphone_640x1136.png" width="640" height="1136"/> - <splash src="res/ios/splash/Default-750@2x~iphone6-portrait_750x1334.png" width="750" height="1334"/> - <splash src="res/ios/splash/Default-1242@3x~iphone6s-portrait_1242x2208.png" width="1242" height="2208"/> + <icon height="180" src="res/ios/icons/Icon-60@3x.png" width="180" /> + <icon height="60" src="res/ios/icons/Icon-60.png" width="60" /> + <icon height="120" src="res/ios/icons/Icon-60@2x.png" width="120" /> + <icon height="76" src="res/ios/icons/Icon-76.png" width="76" /> + <icon height="152" src="res/ios/icons/Icon-76@2x.png" width="152" /> + <icon height="40" src="res/ios/icons/Icon-40.png" width="40" /> + <icon height="80" src="res/ios/icons/Icon-40@2x.png" width="80" /> + <icon height="57" src="res/ios/icons/Icon.png" width="57" /> + <icon height="114" src="res/ios/icons/Icon@2x.png" width="114" /> + <icon height="72" src="res/ios/icons/Icon-72.png" width="72" /> + <icon height="144" src="res/ios/icons/Icon-72@2x.png" width="144" /> + <icon height="29" src="res/ios/icons/Icon-Small.png" width="29" /> + <icon height="58" src="res/ios/icons/Icon-Small@2x.png" width="58" /> + <icon height="50" src="res/ios/icons/Icon-50.png" width="50" /> + <icon height="100" src="res/ios/icons/Icon-50@2x.png" width="100" /> + <splash height="480" src="res/ios/splash/Default~iphone.png" width="320" /> + <splash height="960" src="res/ios/splash/Default@2x~iphone_640x960.png" width="640" /> + <splash height="1024" src="res/ios/splash/Default-Portrait~ipad_768x1024.png" width="768" /> + <splash height="2048" src="res/ios/splash/Default-Portrait@2x~ipad_1536x2048.png" width="1536" /> + <splash height="2008" src="res/ios/splash/Default-Portrait@2x~ipad_1536x2008.png" width="1536" /> + <splash height="1136" src="res/ios/splash/Default-568h@2x~iphone_640x1136.png" width="640" /> + <splash height="1334" src="res/ios/splash/Default-750@2x~iphone6-portrait_750x1334.png" width="750" /> + <splash height="2208" src="res/ios/splash/Default-1242@3x~iphone6s-portrait_1242x2208.png" width="1242" /> + <splash height="2208" src="res/ios/splash/Default-1242@3x~iphone6s-portrait_1242x2208.png" width="1242" /> + <splash src="res/ios/splash/Default-1125@3x~iphonex-portrait_1125x2436.png" width="1125" height="2436"/> </platform> - - <engine name="android" spec="^5.1.1" /> - <engine name="ios" spec="^4.4.0" /> - <plugin name="cordova-plugin-camera" spec="~2.1.1" /> - <plugin name="cordova-plugin-device" spec="~1.1.1" /> - <plugin name="cordova-plugin-dialogs" spec="~1.2.0" /> - <plugin name="cordova-plugin-file" spec="~4.1.1" /> - <plugin name="cordova-plugin-file-transfer" spec="~1.5.0" /> - <plugin name="cordova-plugin-geolocation" spec="~2.1.0" /> - <plugin name="cordova-plugin-inappbrowser" spec="~1.3.0" /> - <plugin name="cordova-plugin-media" spec="~2.2.0" /> - <plugin name="cordova-plugin-media-capture" spec="~1.4.1"> - <variable name="CAMERA_USAGE_DESCRIPTION" value="To take photos of problems." /> - <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="To attach photos of problems to your report." /> - </plugin> - <plugin name="cordova-plugin-network-information" spec="~1.2.0" /> - <plugin name="cordova-plugin-splashscreen" spec="~3.2.1" /> - <plugin name="cordova-plugin-statusbar" spec="~2.1.2" /> - <plugin name="cordova-plugin-whitelist" spec="~1.2.1" /> - <plugin name="ionic-plugin-keyboard" spec="~2.0.1" /> <hook src="scripts/prepare_index_html.js" type="after_prepare" /> + <plugin name="cordova-plugin-camera" spec="^4.0.3" /> + <plugin name="cordova-plugin-compat" spec="^1.2.0" /> + <plugin name="cordova-plugin-device" spec="^2.0.2" /> + <plugin name="cordova-plugin-dialogs" spec="^2.0.1" /> + <plugin name="cordova-plugin-file" spec="^6.0.1" /> + <plugin name="cordova-plugin-file-transfer" spec="^1.7.1" /> + <plugin name="cordova-plugin-geolocation" spec="^4.0.1" /> + <plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" /> + <plugin name="cordova-plugin-media" spec="^5.0.2"> + <variable name="KEEP_AVAUDIOSESSION_ALWAYS_ACTIVE" value="NO" /> + </plugin> + <plugin name="cordova-plugin-media-capture" spec="^3.0.2" /> + <plugin name="cordova-plugin-network-information" spec="^2.0.1" /> + <plugin name="cordova-plugin-splashscreen" spec="^5.0.2" /> + <plugin name="cordova-plugin-statusbar" spec="^2.4.2" /> + <plugin name="cordova-plugin-whitelist" spec="^1.3.3" /> + <plugin name="ionic-plugin-keyboard" spec="^2.2.1" /> + <engine name="ios" spec="^4.5.4" /> + <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription"> + <string>To take photos of problems.</string> + </edit-config> + <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription"> + <string>To attach photos of problems to your report.</string> + </edit-config> + <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription"> + <string>To create accurately positioned reports.</string> + </edit-config> + <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryAddUsageDescription"> + <string>To save photos of problems.</string> + </edit-config> </widget> - |