Created
March 21, 2017 20:25
-
-
Save robinbastien/8b2c030861b5c20c49ed5d87f4c993d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<widget id="com.machine.myApp" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"> | |
<name>myApp</name> | |
<description> | |
myApp | |
</description> | |
<author email="[email protected]" href="https://www.machine-agency.com"> | |
Machine | |
</author> | |
<content src="index.html" /> | |
<preference name="DisallowOverscroll" value="true" /> | |
<preference name="android-minSdkVersion" value="14" /> | |
<preference name="AutoHideSplashScreen" value="true" /> | |
<preference name="SplashScreenDelay" value="4000" /> | |
<preference name="FadeSplashScreen" value="false"/> | |
<preference name="FadeSplashScreenDuration" value="0"/> | |
<preference name="SplashMaintainAspectRatio" value="true" /> | |
<preference name="SplashShowOnlyFirstTime" value="false" /> | |
<!-- <plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" /> --> | |
<!--<plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />--> | |
<plugin name="cordova-plugin-console" source="npm" spec="~1.0.2" /> | |
<!-- <plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1" /> --> | |
<plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" /> | |
<!-- <plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" /> | |
<plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" /> --> | |
<plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0" /> | |
<plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" /> | |
<plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" /> | |
<plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" /> | |
<plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" /> | |
<plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" /> | |
<plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" /> | |
<plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" /> | |
<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" /> | |
<plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2" /> | |
<plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" /> | |
<!-- <plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" /> --> | |
<plugin name="cc.fovea.cordova.purchase" source="npm" version="6.0.0"> | |
<param name="BILLING_KEY" value="MIIBIXXXXXXXXXXXXXXXXXXXXXXXXXAQAB"/> | |
</plugin> | |
<platform name="android"> | |
<preference name="AndroidPersistentFileLocation" value="Compatibility" /> | |
<icon platform="android" qualifier="ldpi" src="www/res/icons/android/mipmap-ldpi/ic_launcher.png"/> | |
<icon platform="android" qualifier="mdpi" src="www/res/icons/android/mipmap-mdpi/ic_launcher.png"/> | |
<icon platform="android" qualifier="hdpi" src="www/res/icons/android/mipmap-hdpi/ic_launcher.png"/> | |
<icon platform="android" qualifier="xhdpi" src="www/res/icons/android/mipmap-xhdpi/ic_launcher.png"/> | |
<icon platform="android" qualifier="xxhdpi" src="www/res/icons/android/mipmap-xxhdpi/ic_launcher.png"/> | |
<icon platform="android" qualifier="xxxhdpi" src="www/res/icons/android/mipmap-xxxhdpi/ic_launcher.png"/> | |
<splash platform="android" qualifier="ldpi" src="www/res/screens/android/screen-ldpi-portrait.png" /> | |
<splash platform="android" qualifier="mdpi" src="www/res/screens/android/screen-mdpi-portrait.png" /> | |
<splash platform="android" qualifier="hdpi" src="www/res/screens/android/screen-hdpi-portrait.png" /> | |
<splash platform="android" qualifier="xhdpi" src="www/res/screens/android/screen-xhdpi-portrait.png" /> | |
</platform> | |
<plugin name="cordova-plugin-media-capture" source="npm" spec="*"> | |
<variable name="CAMERA_USAGE_DESCRIPTION" value="myApp would like to access the camera. This permission is used to take photos for your user avatar." /> | |
<variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="myApp would like to access the library to select photos for your user avatar." /> | |
</plugin> | |
<platform name="ios"> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="50" height="50" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="100" height="100" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="40" height="40" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="80" height="80" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="50" height="50" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="114" height="114" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="60" height="60" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="120" height="120" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="180" height="180" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="72" height="72" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="144" height="144" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="76" height="76" /> | |
<icon platform="ios" src="res/icons/ios/AppIcon.appiconset/[email protected]" width="152" height="152" /> | |
<splash platform="ios" src="res/screens/ios/screen-iphone-portrait.png" width="320" height="480" /> | |
<splash platform="ios" src="res/screens/ios/screen-iphone-portrait-2x.png" width="640" height="960" /> | |
<splash platform="ios" src="res/screens/ios/screen-iphone-portrait-568h-2x.png" width="640" height="1136" /> | |
<splash platform="ios" src="res/screens/ios/screen-iphone-portrait-667h.png" width="750" height="1334" /> | |
<splash platform="ios" src="res/screens/ios/screen-iphone-portrait-736h.png" width="1242" height="2208" /> | |
<splash platform="ios" src="res/screens/ios/screen-ipad-portrait.png" width="768" height="1024" /> | |
<splash platform="ios" src="res/screens/ios/screen-ipad-portrait-2x.png" width="1536" height="2048" /> | |
</platform> | |
<!-- This is not recommended for production! --> | |
<!--<access origin="*" /> --> | |
<allow-navigation href="*" /> | |
<allow-intent href="*" /> | |
<allow-intent href="http://*/*" /> | |
<allow-intent href="https://*/*" /> | |
<allow-intent href="tel:*" /> | |
<allow-intent href="sms:*" /> | |
<allow-intent href="mailto:*" /> | |
<allow-intent href="geo:*" /> --> | |
<platform name="android"> | |
<allow-intent href="market:*" /> | |
</platform> | |
<platform name="ios"> | |
<allow-intent href="itms:*" /> | |
<allow-intent href="itms-apps:*" /> | |
</platform> | |
</widget> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment