Skip to content

Instantly share code, notes, and snippets.

@fellipeh
Created January 8, 2016 10:57
Show Gist options
  • Save fellipeh/adf97fe469e89f0bfacd to your computer and use it in GitHub Desktop.
Save fellipeh/adf97fe469e89f0bfacd to your computer and use it in GitHub Desktop.
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.myProject"
version="1.0.13"
android-versionCode="13"
ios-CFBundleVersion="1.0.13"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>SoOfertas</name>
<description>
Aplicativo de Busca de Ofertas das Cidades
</description>
<author email="test@pointltda.com.br" href="https://www.myproject.com.br">
Developer Team
</author>
<content src="index.html"/>
<plugin name="cordova-plugin-whitelist" spec="1"/>
<access origin="*"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
<feature name="http://api.phonegap.com/1.0/camera"/>
<feature name="http://api.phonegap.com/1.0/file"/>
<feature name="http://api.phonegap.com/1.0/geolocation"/>
<feature name="http://api.phonegap.com/1.0/media"/>
<feature name="http://api.phonegap.com/1.0/network"/>
<feature name="http://api.phonegap.com/1.0/notification"/>
<preference name="BackgroundColor" value="0xffffffff"/>
<preference name="orientation" value="portrait"/>
<preference name="target-device" value="universal" /> <!-- all: possible values handset, tablet, or universal -->
<!--<preference name="fullscreen" value="true" /> &lt;!&ndash; all: hides the status bar at the top of the screen &ndash;&gt;-->
<preference name="auto-hide-splash-screen" value="true" />
<preference name="SplashScreenDelay" value="5000" />
<preference name="splash-screen-duration" value="1000" />
<icon src="res/icons/36x36.png" density="ldpi"/>
<platform name="android">
<allow-intent href="market:*"/>
<!--<preference name="Orientation" value="sensorLandscape"/>-->
<supports-screens
largeScreens="true"
normalScreens="true"
smallScreens="true"
xlargeScreens="true"
resizeable="true"
anyDensity="true"
/>
<uses-feature name="android.hardware.camera" required="false"/>
<uses-feature name="android.hardware.camera.autofocus" required="false"/>
<preference name="android-minSdkVersion" value="14" /> <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
<preference name="android-installLocation" value="auto" /> <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
<icon src="res/icons/36x36.png" density="ldpi"/>
<icon src="res/icons/48x48.png" density="mdpi"/>
<icon src="res/icons/72x72.png" density="hdpi"/>
<icon src="res/icons/144x144.png" density="xhdpi"/>
<icon src="res/icons/144x144.png" density="xxhdpi"/>
<splash src="res/splash/splash_ldpi_320_426.png" density="ldpi"/>
<splash src="res/splash/splash_mdpi_320_470.png" density="mdpi"/>
<splash src="res/splash/splash_hdpi_480_640.png" density="hdpi"/>
<splash src="res/splash/splash_xhdpi_720_960.png" density="xhdpi"/>
<splash src="res/splash/splash_xxhdpi_1080_1440.png" density="xxhdpi"/>
</platform>
<platform name="ios">
<allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*"/>
<!--<preference name="Orientation" value="sensorLandscape"/>-->
<preference name="target-device" value="universal"/>
<preference name="webviewbounce" value="true" /> <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
<preference name="prerendered-icon" value="false" /> <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
<preference name="stay-in-webview" value="false" /> <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
<preference name="ios-statusbarstyle" value="black-opaque" /> <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
<preference name="detect-data-types" value="true" /> <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
<preference name="exit-on-suspend" value="false" /> <!-- ios: if set to true, app will terminate when home button is pressed -->
<preference name="show-splash-screen-spinner" value="true" /> <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
<preference name="auto-hide-splash-screen" value="false" /> <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->
<icon src="res/icons/fundo_branco/ios/icon-60@3x.png" width="180" height="180" />
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="res/icons/fundo_branco/ios/icon-60.png" width="60" height="60" />
<icon src="res/icons/fundo_branco/ios/icon-60@2x.png" width="120" height="120" />
<!-- iPad -->
<icon src="res/icons/fundo_branco/ios/icon-76.png" width="76" height="76" />
<icon src="res/icons/fundo_branco/ios/icon-76@2x.png" width="152" height="152" />
<!-- iOS 6.1 -->
<!-- Spotlight Icon -->
<icon src="res/icons/fundo_branco/ios/icon-40.png" width="40" height="40" />
<icon src="res/icons/fundo_branco/ios/icon-40@2x.png" width="80" height="80" />
<!-- iPhone / iPod Touch -->
<icon src="res/icons/fundo_branco/ios/icon.png" width="57" height="57" />
<icon src="res/icons/fundo_branco/ios/icon@2x.png" width="114" height="114" />
<!-- iPad -->
<icon src="res/icons/fundo_branco/ios/icon-72.png" width="72" height="72" />
<icon src="res/icons/fundo_branco/ios/icon-72@2x.png" width="144" height="144" />
<!-- iPhone Spotlight and Settings Icon -->
<icon src="res/icons/fundo_branco/ios/icon-small.png" width="29" height="29" />
<icon src="res/icons/fundo_branco/ios/icon-small@2x.png" width="58" height="58" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="res/icons/fundo_branco/ios/icon-small-50.png" width="50" height="50" />
<icon src="res/icons/fundo_branco/ios/icon-small-50@2x.png" width="100" height="100" />
<splash src="res/screen/ios/Default~iphone.png" width="320" height="480"/>
<splash src="res/screen/ios/Default@2x~iphone.png" width="640" height="960"/>
<splash src="res/screen/ios/Default-Portrait~ipad.png" width="768" height="1024"/>
<splash src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
<splash src="res/screen/ios/Default-Landscape~ipad.png" width="1024" height="768"/>
<splash src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
<splash src="res/screen/ios/Default-568h@2x~iphone.png" width="640" height="1136"/>
<splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>
<splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>
<splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>
</platform>
</widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment