Last active
March 9, 2019 04:53
-
-
Save MakarovCode/31ac4e8ea1d9b536dc6d19ce554c467d to your computer and use it in GitHub Desktop.
Archivo de configuración config.xml para exportar aplicaciones con phonegap o cordova
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="co.devpenguin.appto" version="0.1.8" android-versionCode="106" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"> | |
<name>Market</name> | |
<description> | |
Una app genial | |
</description> | |
<author email="holamundocursos@gmail.com" href="http://devpenguin.co"> | |
Hola Mundo | |
</author> | |
<!-- Configuraciones para aplicaciones y permisos nativos --> | |
<content src="index.html" /> | |
<preference name="permissions" value="none" /> | |
<preference name="phonegap-version" value="cli-8.0.0" /> | |
<preference name="orientation" value="portrait" /> | |
<preference name="target-device" value="universal" /> | |
<preference name="fullscreen" value="false" /> | |
<preference name="webviewbounce" value="true" /> | |
<preference name="prerendered-icon" value="true" /> | |
<preference name="stay-in-webview" value="false" /> | |
<preference name="ios-statusbarstyle" value="black-opaque" /> | |
<preference name="detect-data-types" value="true" /> | |
<preference name="exit-on-suspend" value="false" /> | |
<preference name="show-splash-screen-spinner" value="true" /> | |
<preference name="auto-hide-splash-screen" value="true" /> | |
<preference name="disable-cursor" value="false" /> | |
<preference name="android-minSdkVersion" value="16" /> | |
<preference name="android-installLocation" value="auto" /> | |
<gap:plugin name="cordova-plugin-whitelist" source="npm"/> | |
<gap:plugin name="cordova-plugin-inappbrowser" source="npm"/> | |
<plugin name="cordova-plugin-code-push" spec="~1.6.0-beta" /> | |
<plugin name="phonegap-plugin-push" spec="2.2.2" /> | |
<!-- <icon src="icon.png" /> --> | |
<access origin="*" /> | |
<access origin="whatsapp:*" launch-external="yes" /> | |
<allow-intent href="whatsapp:*" /> | |
<allow-navigation href="http://*" /> | |
<allow-navigation href="https://*" /> | |
<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="ios"> | |
<allow-intent href="itms:*" /> | |
<allow-intent href="itms-apps:*" /> | |
<!-- Iconos de la aplicación Android --> | |
<!-- <icon height="40" platform="ios" src="res/icons/ios/Icon-40.png" width="40" /> | |
<icon height="80" platform="ios" src="res/icons/ios/Icon-40@2x.png" width="80" /> | |
<icon height="120" platform="ios" src="res/icons/ios/Icon-40@3x.png" width="120" /> | |
<icon height="60" platform="ios" src="res/icons/ios/Icon-60.png" width="60" /> | |
<icon height="120" platform="ios" src="res/icons/ios/Icon-60@2x.png" width="120" /> | |
<icon height="180" platform="ios" src="res/icons/ios/Icon-60@3x.png" width="180" /> | |
<icon height="72" platform="ios" src="res/icons/ios/Icon-72.png" width="72" /> | |
<icon height="144" platform="ios" src="res/icons/ios/Icon-72@2x.png" width="144" /> | |
<icon height="76" platform="ios" src="res/icons/ios/Icon-76.png" width="76" /> | |
<icon height="152" platform="ios" src="res/icons/ios/Icon-76@2x.png" width="152" /> | |
<icon height="167" platform="ios" src="res/icons/ios/Icon-83.5@2x.png" width="167" /> | |
<icon height="120" platform="ios" src="res/icons/ios/Icon-120.png" width="120" /> | |
<icon height="50" platform="ios" src="res/icons/ios/Icon-Small-50.png" width="50" /> | |
<icon height="100" platform="ios" src="res/icons/ios/Icon-Small-50@2x.png" width="100" /> | |
<icon height="29" platform="ios" src="res/icons/ios/Icon-Small.png" width="29" /> | |
<icon height="58" platform="ios" src="res/icons/ios/Icon-Small@2x.png" width="58" /> | |
<icon height="87" platform="ios" src="res/icons/ios/Icon-Small@3x.png" width="87" /> | |
<icon height="57" platform="ios" src="res/icons/ios/Icon.png" width="57" /> | |
<icon height="114" platform="ios" src="res/icons/ios/Icon@2x.png" width="114" /> | |
<icon height="1024" platform="ios" src="res/icons/ios/ios-marketing.png" width="1024" /> | |
<icon height="40" platform="ios" src="res/icons/ios/NotificationIcon@2x.png" width="40" /> | |
<icon height="60" platform="ios" src="res/icons/ios/NotificationIcon@3x.png" width="60" /> | |
<icon height="20" platform="ios" src="res/icons/ios/NotificationIcon~ipad.png" width="20" /> | |
<icon height="40" platform="ios" src="res/icons/ios/NotificationIcon~ipad@2x.png" width="40" /> | |
<splash src="res/screen/ios/Default@2x~iphone~anyany.png"/> | |
<splash src="res/screen/ios/Default@2x~iphone~comany.png"/> | |
<splash src="res/screen/ios/Default@3x~iphone~anyany.png"/> | |
<splash src="res/screen/ios/Default@3x~iphone~comany.png"/> | |
<splash src="res/screen/ios/Default@2x~ipad~anyany.png"/> | |
<splash src="res/screen/ios/Default@2x~ipad~comany.png"/> --> | |
</platform> | |
<platform name="android"> | |
<allow-intent href="market:*" /> | |
<!-- Iconos de la aplicación IOS --> | |
<!-- <icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png" /> | |
<icon density="mdpi" src="res/icons/android/drawable-mdpi-icon.png" /> | |
<icon density="hdpi" src="res/icons/android/drawable-hdpi-icon.png" /> | |
<icon density="xhdpi" src="res/icons/android/drawable-xhdpi-icon.png" /> | |
<icon density="xxhdpi" src="res/icons/android/drawable-xxhdpi-icon.png" /> | |
<icon density="xxxhdpi" src="res/icons/android/drawable-xxxhdpi-icon.png" /> | |
<splash density="port-ldpi" src="res/screen/android/splash-port-ldpi.png"/> | |
<splash density="port-mdpi" src="res/screen/android/splash-port-mdpi.png"/> | |
<splash density="port-hdpi" src="res/screen/android/splash-port-hdpi.png"/> | |
<splash density="port-xhdpi" src="res/screen/android/splash-port-xhdpi.png"/> | |
<splash density="port-xxhdpi" src="res/screen/android/splash-port-xxhdpi.png"/> | |
<splash density="port-xxxhdpi" src="res/screen/android/splash-port-xxxhdpi.png"/> --> | |
<!-- Congifuración para google services (este arhivo se genera en la consola de google) --> | |
<!-- <resource-file src="google-services.json" target="app/google-services.json" /> --> | |
</platform> | |
<!-- Permiso importante Android --> | |
<feature name="NetworkStatus"> | |
<param name="android-package" value="org.apache.cordova.networkinformation.NetworkManager" /> | |
</feature> | |
</widget> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment