config.xml 5.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <widget id="io.tranyi.kixScannerPro" version="1.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  3. <name>kixScannerPro</name>
  4. <description>
  5. A sample Apache Cordova application that responds to the deviceready event.
  6. </description>
  7. <author email="dev@cordova.apache.org" href="http://cordova.io">
  8. Apache Cordova Team
  9. </author>
  10. <content src="index.html" />
  11. <plugin name="cordova-plugin-whitelist" spec="1" />
  12. <access origin="*" />
  13. <allow-intent href="http://*/*" />
  14. <allow-intent href="https://*/*" />
  15. <allow-intent href="tel:*" />
  16. <allow-intent href="sms:*" />
  17. <allow-intent href="mailto:*" />
  18. <allow-intent href="geo:*" />
  19. <platform name="android">
  20. <allow-intent href="market:*" />
  21. </platform>
  22. <platform name="ios">
  23. <allow-intent href="itms:*" />
  24. <allow-intent href="itms-apps:*" />
  25. </platform>
  26. <allow-navigation href="*" />
  27. <platform name="android">
  28. <preference name="StatusBarOverlaysWebView" value="false" />
  29. <preference name="android-minSdkVersion" value="21" />
  30. <preference name="SplashMaintainAspectRatio" value="true" />
  31. <splash density="land-hdpi" src="res/screen/android/drawable-hdpi/screen.png" />
  32. <splash density="land-mdpi" src="res/screen/android/drawable-mdpi/screen.png" />
  33. <splash density="land-xhdpi" src="res/screen/android/drawable-xhdpi/screen.png" />
  34. <splash density="land-xxhdpi" src="res/screen/android/drawable-xxhdpi/screen.png" />
  35. <splash density="land-xxxhdpi" src="res/screen/android/drawable-xxxhdpi/screen.png" />
  36. <splash density="port-hdpi" src="res/screen/android/drawable-hdpi/screen.png" />
  37. <splash density="port-mdpi" src="res/screen/android/drawable-mdpi/screen.png" />
  38. <splash density="port-xhdpi" src="res/screen/android/drawable-xhdpi/screen.png" />
  39. <splash density="port-xxhdpi" src="res/screen/android/drawable-xxhdpi/screen.png" />
  40. <splash density="port-xxxhdpi" src="res/screen/android/drawable-xxxhdpi/screen.png" />
  41. <icon density="ldpi" src="res/icon/android/mipmap-ldpi/ic_launcher.png" />
  42. <icon density="mdpi" src="res/icon/android/mipmap-mdpi/ic_launcher.png" />
  43. <icon density="hdpi" src="res/icon/android/mipmap-hdpi/ic_launcher.png" />
  44. <icon density="xhdpi" src="res/icon/android/mipmap-xhdpi/ic_launcher.png" />
  45. <icon density="xxhdpi" src="res/icon/android/mipmap-xxhdpi/ic_launcher.png" />
  46. <icon density="xxxhdpi" src="res/icon/android/mipmap-xxxhdpi/ic_launcher.png" />
  47. </platform>
  48. <platform name="ios">
  49. <config-file parent="CFBundleAllowMixedLocalizations" platform="ios" target="*-Info.plist">
  50. <true />
  51. </config-file>
  52. <preference name="StatusBarOverlaysWebView" value="true" />
  53. <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
  54. <icon height="180" src="res/icon/ios/icon-60x60@3x.png" width="180" />
  55. <icon height="60" src="res/icon/ios/icon-60x60@1x.png" width="60" />
  56. <icon height="120" src="res/icon/ios/icon-60x60@2x.png" width="120" />
  57. <icon height="76" src="res/icon/ios/icon-76x76@1x.png" width="76" />
  58. <icon height="152" src="res/icon/ios/icon-76x76@2x.png" width="152" />
  59. <icon height="228" src="res/icon/ios/icon-76x76@3x.png" width="228" />
  60. <icon height="40" src="res/icon/ios/icon-40x40@1x.png" width="40" />
  61. <icon height="80" src="res/icon/ios/icon-40x40@2x.png" width="80" />
  62. <icon height="87" src="res/icon/ios/icon-29x29@3x.png" width="87" />
  63. <icon height="57" src="res/icon/ios/icon-57x57@1x.png" width="57" />
  64. <icon height="114" src="res/icon/ios/icon-57x57@2x.png" width="114" />
  65. <icon height="72" src="res/icon/ios/icon-72x72@1x.png" width="72" />
  66. <icon height="144" src="res/icon/ios/icon-72x72@2x.png" width="144" />
  67. <icon height="167" src="res/icon/ios/icon-83.5x83.5@2x.png" width="167" />
  68. <icon height="29" src="res/icon/ios/icon-29x29@1x.png" width="29" />
  69. <icon height="58" src="res/icon/ios/icon-29x29@2x.png" width="58" />
  70. <icon height="50" src="res/icon/ios/icon-50x50@1x.png" width="50" />
  71. <icon height="100" src="res/icon/ios/icon-50x50@2x.png" width="100" />
  72. <icon height="167" src="res/icon/ios/icon-83.5x83.5@2x.png" width="167" />
  73. <icon height="1024" src="res/icon/ios/icon-512x512@2x.png" width="1024" />
  74. </platform>
  75. <preference name="UIWebViewBounce" value="false" />
  76. <preference name="DisallowOverscroll" value="true" />
  77. <preference name="BackupWebStorage" value="local" />
  78. <preference name="AutoHideSplashScreen" value="false" />
  79. <preference name="ShowSplashScreenSpinner" value="false" />
  80. <preference name="SplashScreenDelay" value="0" />
  81. <preference name="Suppresses3DTouchGesture" value="true" />
  82. <preference name="Allow3DTouchLinkPreview" value="false" />
  83. <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
  84. <preference name="AllowInlineMediaPlayback" value="true" />
  85. </widget>