config.xml 5.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <widget id="com.ionicframework.myapp163222" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  3. <name>myapp</name>
  4. <description>An awesome Ionic/Cordova app.</description>
  5. <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
  6. <content src="index.html"/>
  7. <access origin="*"/>
  8. <allow-navigation href="http://ionic.local/*"/>
  9. <allow-intent href="http://*/*"/>
  10. <allow-intent href="https://*/*"/>
  11. <allow-intent href="tel:*"/>
  12. <allow-intent href="sms:*"/>
  13. <allow-intent href="mailto:*"/>
  14. <allow-intent href="geo:*"/>
  15. <preference name="webviewbounce" value="false"/>
  16. <preference name="UIWebViewBounce" value="false"/>
  17. <preference name="DisallowOverscroll" value="true"/>
  18. <preference name="android-minSdkVersion" value="16"/>
  19. <preference name="BackupWebStorage" value="none"/>
  20. <preference name="SplashMaintainAspectRatio" value="true"/>
  21. <preference name="FadeSplashScreenDuration" value="300"/>
  22. <preference name="SplashShowOnlyFirstTime" value="false"/>
  23. <preference name="SplashScreen" value="screen"/>
  24. <preference name="SplashScreenDelay" value="3000"/>
  25. <platform name="android">
  26. <allow-intent href="market:*"/>
  27. <icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
  28. <icon src="resources/android/icon/drawable-mdpi-icon.png" density="mdpi"/>
  29. <icon src="resources/android/icon/drawable-hdpi-icon.png" density="hdpi"/>
  30. <icon src="resources/android/icon/drawable-xhdpi-icon.png" density="xhdpi"/>
  31. <icon src="resources/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi"/>
  32. <icon src="resources/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi"/>
  33. <splash src="resources/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
  34. <splash src="resources/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
  35. <splash src="resources/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
  36. <splash src="resources/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
  37. <splash src="resources/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
  38. <splash src="resources/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
  39. <splash src="resources/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
  40. <splash src="resources/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
  41. <splash src="resources/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
  42. <splash src="resources/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
  43. <splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
  44. <splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
  45. </platform>
  46. <platform name="ios">
  47. <allow-intent href="itms:*"/>
  48. <allow-intent href="itms-apps:*"/>
  49. <icon src="resources/ios/icon/icon.png" width="57" height="57"/>
  50. <icon src="resources/ios/icon/icon@2x.png" width="114" height="114"/>
  51. <icon src="resources/ios/icon/icon-40.png" width="40" height="40"/>
  52. <icon src="resources/ios/icon/icon-40@2x.png" width="80" height="80"/>
  53. <icon src="resources/ios/icon/icon-40@3x.png" width="120" height="120"/>
  54. <icon src="resources/ios/icon/icon-50.png" width="50" height="50"/>
  55. <icon src="resources/ios/icon/icon-50@2x.png" width="100" height="100"/>
  56. <icon src="resources/ios/icon/icon-60.png" width="60" height="60"/>
  57. <icon src="resources/ios/icon/icon-60@2x.png" width="120" height="120"/>
  58. <icon src="resources/ios/icon/icon-60@3x.png" width="180" height="180"/>
  59. <icon src="resources/ios/icon/icon-72.png" width="72" height="72"/>
  60. <icon src="resources/ios/icon/icon-72@2x.png" width="144" height="144"/>
  61. <icon src="resources/ios/icon/icon-76.png" width="76" height="76"/>
  62. <icon src="resources/ios/icon/icon-76@2x.png" width="152" height="152"/>
  63. <icon src="resources/ios/icon/icon-83.5@2x.png" width="167" height="167"/>
  64. <icon src="resources/ios/icon/icon-small.png" width="29" height="29"/>
  65. <icon src="resources/ios/icon/icon-small@2x.png" width="58" height="58"/>
  66. <icon src="resources/ios/icon/icon-small@3x.png" width="87" height="87"/>
  67. <splash src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>
  68. <splash src="resources/ios/splash/Default-667h.png" width="750" height="1334"/>
  69. <splash src="resources/ios/splash/Default-736h.png" width="1242" height="2208"/>
  70. <splash src="resources/ios/splash/Default-Landscape-736h.png" width="2208" height="1242"/>
  71. <splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
  72. <splash src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" height="2048"/>
  73. <splash src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>
  74. <splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
  75. <splash src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" height="2732"/>
  76. <splash src="resources/ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>
  77. <splash src="resources/ios/splash/Default@2x~iphone.png" width="640" height="960"/>
  78. <splash src="resources/ios/splash/Default~iphone.png" width="320" height="480"/>
  79. </platform>
  80. <plugin name="ionic-plugin-keyboard" spec="~2.2.1"/>
  81. <plugin name="cordova-plugin-whitelist" spec="1.3.1"/>
  82. <plugin name="cordova-plugin-console" spec="1.0.5"/>
  83. <plugin name="cordova-plugin-statusbar" spec="2.2.1"/>
  84. <plugin name="cordova-plugin-device" spec="1.1.4"/>
  85. <plugin name="cordova-plugin-splashscreen" spec="~4.0.1"/>
  86. </widget>