diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | cobrands/cuidomiciudad/config.xml | 112 | ||||
-rw-r--r-- | cobrands/cuidomiciudad/package.json | 55 |
3 files changed, 103 insertions, 66 deletions
@@ -14,3 +14,5 @@ plugins compiled locale/lang_list /config.xml +/node_modules +/package.json diff --git a/cobrands/cuidomiciudad/config.xml b/cobrands/cuidomiciudad/config.xml index b4ee7a6..caa5c8b 100644 --- a/cobrands/cuidomiciudad/config.xml +++ b/cobrands/cuidomiciudad/config.xml @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<widget android-versionCode="2" id="org.mysociety.CuidoMiDN" version="1.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget id="org.mysociety.CuidoMiDN" ios-CFBundleVersion="1.0.2.20170706.1" version="1.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>CuidoMiCiudad</name> <description> Report problems on CuidoMiCiudad @@ -8,7 +8,6 @@ mySociety </author> <content src="index.html" /> - <access origin="http://127.0.0.1*" /> <access origin="*://*.openstreetmap.org" /> <access origin="*://*.opencyclemap.org" /> @@ -18,23 +17,18 @@ <access origin="*://ecn.t2.tiles.virtualearth.net" /> <access origin="*://ecn.t3.tiles.virtualearth.net" /> <access origin="*://mapit.mysociety.org" /> - <!-- Replace this with the hostname of your FMS installation --> <access origin="https://cuidomiciudad.fixmystreet.dev.mysociety.org" /> <access origin="https://cuidomiciudad.mysociety.org" /> <access origin="https://www.cuidomiciudad.com" /> <access origin="https://www.cuidomiciudad.do" /> - <allow-intent href="mailto:*" /> - <preference name="android-minSdkVersion" value="16" /> <preference name="orientation" value="portrait" /> <preference name="StatusBarOverlaysWebView" value="false" /> <preference name="StatusBarStyle" value="lightcontent" /> <preference name="AndroidPersistentFileLocation" value="Compatibility" /> - <!-- If you change the background colour of the app, change this value to match. --> <preference name="StatusBarBackgroundColor" value="#005cb9" /> - <preference name="deployment-target" value="6.0" /> - + <preference name="deployment-target" value="9.0" /> <platform name="android"> <icon density="ldpi" src="res/cuidomiciudad/android/icons/ic_ldpi.png" /> <icon density="mdpi" src="res/cuidomiciudad/android/icons/ic_mdpi.png" /> @@ -42,7 +36,6 @@ <icon density="xhdpi" src="res/cuidomiciudad/android/icons/ic_xhdpi.png" /> <icon density="xxhdpi" src="res/cuidomiciudad/android/icons/ic_xxhdpi.png" /> <icon density="xxxhdpi" src="res/cuidomiciudad/android/icons/ic_xxxhdpi.png" /> - <splash density="ldpi" src="res/cuidomiciudad/android/drawable-ldpi/screen.9.png" /> <splash density="mdpi" src="res/cuidomiciudad/android/drawable-mdpi/screen.9.png" /> <splash density="hdpi" src="res/cuidomiciudad/android/drawable-hdpi/screen.9.png" /> @@ -50,68 +43,55 @@ <splash density="xxhdpi" src="res/cuidomiciudad/android/drawable-xxhdpi/screen.9.png" /> <splash density="xxxhdpi" src="res/cuidomiciudad/android/drawable-xxxhdpi/screen.9.png" /> </platform> - <platform name="ios"> - <!-- iOS 8.0+ --> - <!-- iPhone 6 Plus --> - <icon src="res/cuidomiciudad/ios/icons/Icon-60@3x.png" width="180" height="180" /> - <!-- iOS 7.0+ --> - <!-- iPhone / iPod Touch --> - <icon src="res/cuidomiciudad/ios/icons/Icon-60@2x.png" width="120" height="120" /> - <!-- iPad --> - <icon src="res/cuidomiciudad/ios/icons/Icon-76.png" width="76" height="76" /> - <icon src="res/cuidomiciudad/ios/icons/Icon-76@2x.png" width="152" height="152" /> - <!-- iOS 6.1 --> - <!-- Spotlight Icon --> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small-40.png" width="40" height="40" /> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small-40@2x.png" width="80" height="80" /> - <!-- iPhone / iPod Touch --> - <icon src="res/cuidomiciudad/ios/icons/Icon.png" width="57" height="57" /> - <icon src="res/cuidomiciudad/ios/icons/Icon@2x.png" width="114" height="114" /> - <!-- iPad --> - <icon src="res/cuidomiciudad/ios/icons/Icon-72.png" width="72" height="72" /> - <icon src="res/cuidomiciudad/ios/icons/Icon-72@2x.png" width="144" height="144" /> - <!-- iPhone Spotlight and Settings Icon --> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small.png" width="29" height="29" /> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small@2x.png" width="58" height="58" /> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small@3x.png" width="87" height="87" /> - <!-- iPad Spotlight and Settings Icon --> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small-50.png" width="50" height="50" /> - <icon src="res/cuidomiciudad/ios/icons/Icon-Small-50@2x.png" width="100" height="100" /> - - <splash src="res/cuidomiciudad/ios/launch/launch-ipad.png" width="768" height="1024"/> - <splash src="res/cuidomiciudad/ios/launch/launch-ipad@2x.png" width="1536" height="2048"/> - <splash src="res/cuidomiciudad/ios/launch/launch-iphone1234.png" width="320" height="480"/> - <splash src="res/cuidomiciudad/ios/launch/launch-iphone1234@2x.png" width="640" height="960"/> - <splash src="res/cuidomiciudad/ios/launch/launch-iphone5.png" width="640" height="1136"/> - <splash src="res/cuidomiciudad/ios/launch/launch-iphone67.png" width="750" height="1334"/> - <splash src="res/cuidomiciudad/ios/launch/launch-iphone67plus.png" width="1242" height="2208"/> - + <icon height="180" src="res/cuidomiciudad/ios/icons/Icon-60@3x.png" width="180" /> + <icon height="120" src="res/cuidomiciudad/ios/icons/Icon-60@2x.png" width="120" /> + <icon height="76" src="res/cuidomiciudad/ios/icons/Icon-76.png" width="76" /> + <icon height="152" src="res/cuidomiciudad/ios/icons/Icon-76@2x.png" width="152" /> + <icon height="40" src="res/cuidomiciudad/ios/icons/Icon-Small-40.png" width="40" /> + <icon height="80" src="res/cuidomiciudad/ios/icons/Icon-Small-40@2x.png" width="80" /> + <icon height="57" src="res/cuidomiciudad/ios/icons/Icon.png" width="57" /> + <icon height="114" src="res/cuidomiciudad/ios/icons/Icon@2x.png" width="114" /> + <icon height="72" src="res/cuidomiciudad/ios/icons/Icon-72.png" width="72" /> + <icon height="144" src="res/cuidomiciudad/ios/icons/Icon-72@2x.png" width="144" /> + <icon height="29" src="res/cuidomiciudad/ios/icons/Icon-Small.png" width="29" /> + <icon height="58" src="res/cuidomiciudad/ios/icons/Icon-Small@2x.png" width="58" /> + <icon height="87" src="res/cuidomiciudad/ios/icons/Icon-Small@3x.png" width="87" /> + <icon height="50" src="res/cuidomiciudad/ios/icons/Icon-Small-50.png" width="50" /> + <icon height="100" src="res/cuidomiciudad/ios/icons/Icon-Small-50@2x.png" width="100" /> + <splash height="1024" src="res/cuidomiciudad/ios/launch/launch-ipad.png" width="768" /> + <splash height="2048" src="res/cuidomiciudad/ios/launch/launch-ipad@2x.png" width="1536" /> + <splash height="480" src="res/cuidomiciudad/ios/launch/launch-iphone1234.png" width="320" /> + <splash height="960" src="res/cuidomiciudad/ios/launch/launch-iphone1234@2x.png" width="640" /> + <splash height="1136" src="res/cuidomiciudad/ios/launch/launch-iphone5.png" width="640" /> + <splash height="1334" src="res/cuidomiciudad/ios/launch/launch-iphone67.png" width="750" /> + <splash height="2208" src="res/cuidomiciudad/ios/launch/launch-iphone67plus.png" width="1242" /> </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.4.1"> + <hook src="scripts/prepare_index_html.js" type="after_prepare" /> + <engine name="ios" spec="^4.4.0" /> + <plugin name="cordova-plugin-camera" spec="^2.4.1"> <variable name="CAMERA_USAGE_DESCRIPTION" value="Para tomar fotos de problemas" /> <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="Para acceder a sus fotos de problemas" /> </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" /> - <engine name="android" spec="~5.1.1" /> - <plugin name="cordova-plugin-ios-displayname" spec="./cordova-plugin-ios-displayname"> - <variable name="IOS_DISPLAY_NAME" value="CuidoMiDN" /> + <plugin name="cordova-plugin-device" spec="^1.1.6" /> + <plugin name="cordova-plugin-dialogs" spec="^1.3.3" /> + <plugin name="cordova-plugin-file" spec="^4.3.3" /> + <plugin name="cordova-plugin-file-transfer" spec="^1.6.3" /> + <plugin name="cordova-plugin-geolocation" spec="^2.4.3"> + <variable name="GEOLOCATION_USAGE_DESCRIPTION" value=" " /> </plugin> - <plugin name="cordova-plugin-ios-app-language" spec="./cordova-plugin-ios-app-language"> - <variable name="IOS_LOCALIZATION" value="Spanish" /> + <plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" /> + <plugin name="cordova-plugin-media" spec="^2.4.1"> + <variable name="MICROPHONE_USAGE_DESCRIPTION" value=" " /> </plugin> + <plugin name="cordova-plugin-media-capture" spec="^1.4.3"> + <variable name="CAMERA_USAGE_DESCRIPTION" value="Para tomar fotos de problemas" /> + <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="Para acceder a sus fotos de problemas" /> + <variable name="MICROPHONE_USAGE_DESCRIPTION" value=" " /> + </plugin> + <plugin name="cordova-plugin-network-information" spec="^1.3.3" /> + <plugin name="cordova-plugin-splashscreen" spec="^3.2.2" /> + <plugin name="cordova-plugin-statusbar" spec="^2.2.3" /> + <plugin name="cordova-plugin-whitelist" spec="^1.3.2" /> + <plugin name="ionic-plugin-keyboard" spec="^2.2.1" /> </widget> diff --git a/cobrands/cuidomiciudad/package.json b/cobrands/cuidomiciudad/package.json new file mode 100644 index 0000000..31d4f51 --- /dev/null +++ b/cobrands/cuidomiciudad/package.json @@ -0,0 +1,55 @@ +{ + "name": "org.mysociety.cuidomidn", + "version": "1.0.2", + "displayName": "CuidoMiCiudad", + "cordova": { + "platforms": [ + "ios" + ], + "plugins": { + "cordova-plugin-camera": { + "CAMERA_USAGE_DESCRIPTION": "Para tomar fotos de problemas", + "PHOTOLIBRARY_USAGE_DESCRIPTION": "Para acceder a sus fotos de problemas" + }, + "cordova-plugin-device": {}, + "cordova-plugin-dialogs": {}, + "cordova-plugin-file": {}, + "cordova-plugin-file-transfer": {}, + "cordova-plugin-geolocation": { + "GEOLOCATION_USAGE_DESCRIPTION": " " + }, + "cordova-plugin-inappbrowser": {}, + "cordova-plugin-media": { + "MICROPHONE_USAGE_DESCRIPTION": " " + }, + "cordova-plugin-media-capture": { + "CAMERA_USAGE_DESCRIPTION": "Para tomar fotos de problemas", + "PHOTOLIBRARY_USAGE_DESCRIPTION": "Para acceder a sus fotos de problemas", + "MICROPHONE_USAGE_DESCRIPTION": " " + }, + "cordova-plugin-network-information": {}, + "cordova-plugin-splashscreen": {}, + "cordova-plugin-statusbar": {}, + "cordova-plugin-whitelist": {}, + "ionic-plugin-keyboard": {} + } + }, + "dependencies": { + "cordova-ios": "^4.4.0", + "cordova-plugin-camera": "^2.4.1", + "cordova-plugin-compat": "^1.1.0", + "cordova-plugin-device": "^1.1.6", + "cordova-plugin-dialogs": "^1.3.3", + "cordova-plugin-file": "^4.3.3", + "cordova-plugin-file-transfer": "^1.6.3", + "cordova-plugin-geolocation": "^2.4.3", + "cordova-plugin-inappbrowser": "^1.7.1", + "cordova-plugin-media": "^2.4.1", + "cordova-plugin-media-capture": "^1.4.3", + "cordova-plugin-network-information": "^1.3.3", + "cordova-plugin-splashscreen": "^3.2.2", + "cordova-plugin-statusbar": "^2.2.3", + "cordova-plugin-whitelist": "^1.3.2", + "ionic-plugin-keyboard": "^2.2.1" + } +}
\ No newline at end of file |