config.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <widget id="io.ionic.starter" 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.com" href="http://ionicframework.com/">Ionic Framework Team</author>
  6. <content src="index.html" />
  7. <access origin="*" />
  8. <allow-intent href="http://*/*" />
  9. <allow-intent href="https://*/*" />
  10. <allow-intent href="tel:*" />
  11. <allow-intent href="sms:*" />
  12. <allow-intent href="mailto:*" />
  13. <allow-intent href="geo:*" />
  14. <preference name="ScrollEnabled" value="false" />
  15. <preference name="BackupWebStorage" value="none" />
  16. <preference name="SplashMaintainAspectRatio" value="true" />
  17. <preference name="FadeSplashScreenDuration" value="300" />
  18. <preference name="SplashShowOnlyFirstTime" value="false" />
  19. <preference name="SplashScreen" value="screen" />
  20. <preference name="SplashScreenDelay" value="3000" />
  21. <platform name="android">
  22. <preference name="Scheme" value="http" />
  23. <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
  24. <application android:networkSecurityConfig="@xml/network_security_config" />
  25. </edit-config>
  26. <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
  27. <allow-intent href="market:*" />
  28. <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
  29. <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
  30. <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
  31. <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
  32. <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
  33. <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
  34. <splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
  35. <splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
  36. <splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
  37. <splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
  38. <splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
  39. <splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
  40. <splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
  41. <splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
  42. <splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
  43. <splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
  44. <splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
  45. <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
  46. </platform>
  47. <platform name="ios">
  48. <allow-intent href="itms:*" />
  49. <allow-intent href="itms-apps:*" />
  50. <icon height="57" src="resources/ios/icon/icon.png" width="57" />
  51. <icon height="114" src="resources/ios/icon/icon@2x.png" width="114" />
  52. <icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
  53. <icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58" />
  54. <icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87" />
  55. <icon height="20" src="resources/ios/icon/icon-20.png" width="20" />
  56. <icon height="40" src="resources/ios/icon/icon-20@2x.png" width="40" />
  57. <icon height="60" src="resources/ios/icon/icon-20@3x.png" width="60" />
  58. <icon height="48" src="resources/ios/icon/icon-24@2x.png" width="48" />
  59. <icon height="55" src="resources/ios/icon/icon-27.5@2x.png" width="55" />
  60. <icon height="29" src="resources/ios/icon/icon-29.png" width="29" />
  61. <icon height="58" src="resources/ios/icon/icon-29@2x.png" width="58" />
  62. <icon height="87" src="resources/ios/icon/icon-29@3x.png" width="87" />
  63. <icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
  64. <icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" />
  65. <icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" />
  66. <icon height="88" src="resources/ios/icon/icon-44@2x.png" width="88" />
  67. <icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
  68. <icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" />
  69. <icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
  70. <icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" />
  71. <icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" />
  72. <icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
  73. <icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" />
  74. <icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
  75. <icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" />
  76. <icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" />
  77. <icon height="172" src="resources/ios/icon/icon-86@2x.png" width="172" />
  78. <icon height="196" src="resources/ios/icon/icon-98@2x.png" width="196" />
  79. <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
  80. <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
  81. <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
  82. <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
  83. <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
  84. <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
  85. <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
  86. <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
  87. <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
  88. <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
  89. <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
  90. <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
  91. <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
  92. <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
  93. <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
  94. <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
  95. </platform>
  96. <plugin name="cordova-plugin-statusbar" spec="2.4.2" />
  97. <plugin name="cordova-plugin-device" spec="2.0.2" />
  98. <plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
  99. <plugin name="cordova-plugin-ionic-webview" spec="^5.0.0" />
  100. <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
  101. </widget>