diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-05-18 13:40:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-05-18 13:40:23 +0100 |
commit | 620af54bf3322e41be51571f6c2ec9a6180dafd0 (patch) | |
tree | a40ee6ef7d44a46cdd9b5593f03616bdb9ae2ea1 | |
parent | 52c44608e78bd2b6165e57637968912f4c87f60c (diff) |
[MakeMyIsland] Update example config.xml.
-rw-r--r-- | cobrands/makemyisland/config.xml | 53 | ||||
-rw-r--r-- | config.xml-example | 5 |
2 files changed, 38 insertions, 20 deletions
diff --git a/cobrands/makemyisland/config.xml b/cobrands/makemyisland/config.xml index 33d4331..47f3590 100644 --- a/cobrands/makemyisland/config.xml +++ b/cobrands/makemyisland/config.xml @@ -1,37 +1,33 @@ <?xml version='1.0' encoding='utf-8'?> -<widget id="org.mysociety.MakeMyIsland" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget id="org.mysociety.MakeMyIsland" version="2.0.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>MakeMyIsland</name> <description> Report problems on MakeMyIsland </description> - - <author href="http://mysociety.org" email="team@mysociety.org"> + <author email="apps@mysociety.org" href="https://www.mysociety.org"> mySociety </author> <content src="index.html" /> - <access origin=".*.tile.openstreetmap.org"/> - <access origin="tilma.mysociety.org"/> - <access origin="a.tilma.mysociety.org"/> - <access origin="b.tilma.mysociety.org"/> - <access origin="c.tilma.mysociety.org"/> - <access origin="dev.virtualearth.net"/> - <access origin="ecn.t0.tiles.virtualearth.net"/> - <access origin="ecn.t1.tiles.virtualearth.net"/> - <access origin="ecn.t2.tiles.virtualearth.net"/> - <access origin="ecn.t3.tiles.virtualearth.net"/> - <access origin="mapit.mysociety.org"/> - <access origin="international.mapit.mysociety.org"/> - <access origin="www.fixmystreet.com"/> - <access origin="makemyisland.davea.me"/> - <access origin="www.makemyisland.mv"/> - <access origin="makemyisland.staging.mysociety.org"/> + <access origin="*://*.tile.openstreetmap.org" /> + <access origin="*://dev.virtualearth.net" /> + <access origin="*://ecn.t0.tiles.virtualearth.net" /> + <access origin="*://ecn.t1.tiles.virtualearth.net" /> + <access origin="*://ecn.t2.tiles.virtualearth.net" /> + <access origin="*://ecn.t3.tiles.virtualearth.net" /> + <access origin="*://mapit.mysociety.org" /> + <access origin="*://international.mapit.mysociety.org" /> + <access origin="*://www.fixmystreet.com" /> + <access origin="*://www.makemyisland.mv" /> + <access origin="*://makemyisland.staging.mysociety.org" /> <preference name="android-minSdkVersion" value="16" /> <preference name="orientation" value="portrait" /> <preference name="StatusBarOverlaysWebView" value="false" /> <preference name="StatusBarBackgroundColor" value="#9FD9EA" /> <preference name="StatusBarStyle" value="default" /> + <preference name="AndroidPersistentFileLocation" value="Compatibility" /> + <preference name="deployment-target" value="6.0" /> <platform name="android"> <icon src="res/makemyisland/android/icon/36x36.png" density="ldpi" /> @@ -73,5 +69,22 @@ <splash src="res/makemyisland/ios/launch/768x1024.png" width="768" height="1024"/> <splash src="res/makemyisland/ios/launch/1536x2048.png" width="1536" height="2048"/> <splash src="res/makemyisland/ios/launch/1242x2208.png" width="1242" height="2208"/> - </platform> + </platform> + + <engine name="ios" spec="~4.1.1" /> + <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.2.0" /> + <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" /> + <engine name="android" spec="~5.1.1" /> </widget> diff --git a/config.xml-example b/config.xml-example index 8e60916..4719c1e 100644 --- a/config.xml-example +++ b/config.xml-example @@ -8,6 +8,7 @@ mySociety </author> <content src="index.html" /> + <access origin="http://127.0.0.1*" /> <access origin="*://*.openstreetmap.org" /> <access origin="*://*.opencyclemap.org" /> @@ -26,6 +27,7 @@ <access origin="*://mapit.mysociety.org" /> <!-- Replace this with the hostname of your FMS installation --> <access origin="*://fixmystreet.example.org" /> + <preference name="android-minSdkVersion" value="16" /> <preference name="orientation" value="portrait" /> <preference name="StatusBarOverlaysWebView" value="false" /> @@ -34,6 +36,7 @@ <!-- If you change the background colour of the app, change this value to match. --> <preference name="StatusBarBackgroundColor" value="#F6BE41" /> <preference name="deployment-target" value="6.0" /> + <platform name="android"> <icon density="ldpi" src="res/android/drawable-ldpi/icon.png" /> <icon density="mdpi" src="res/android/drawable-mdpi/icon.png" /> @@ -48,6 +51,7 @@ <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 --> @@ -84,6 +88,7 @@ <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"/> </platform> + <engine name="ios" spec="~4.1.1" /> <plugin name="cordova-plugin-camera" spec="~2.1.1" /> <plugin name="cordova-plugin-device" spec="~1.1.1" /> |