|
@@ -0,0 +1,26 @@
|
|
|
+<?xml version='1.0' encoding='utf-8'?>
|
|
|
+<widget id="zskk.dros" version="1.0.0"
|
|
|
+ xmlns="http://www.w3.org/ns/widgets"
|
|
|
+ xmlns:cdv="http://cordova.apache.org/ns/1.0"
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+ <name>dros</name>
|
|
|
+ <description>Sample Apache Cordova App</description>
|
|
|
+ <author email="dev@cordova.apache.org" href="https://cordova.apache.org">
|
|
|
+ Apache Cordova Team
|
|
|
+ </author>
|
|
|
+ <content src="index.html" />
|
|
|
+
|
|
|
+ <!-- 白名单配置 -->
|
|
|
+ <!-- <access origin="*" />
|
|
|
+ <allow-navigation href="*" />
|
|
|
+ <allow-intent href="http://*/*" />
|
|
|
+ <allow-intent href="https://*/*" /> -->
|
|
|
+
|
|
|
+ <!-- Android 平台配置:允许明文 HTTP -->
|
|
|
+ <platform name="android">
|
|
|
+ <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
|
|
|
+ <application android:usesCleartextTraffic="true" />
|
|
|
+ </edit-config>
|
|
|
+ <preference name="AndroidInsecureFileModeEnabled" value="true" />
|
|
|
+ </platform>
|
|
|
+</widget>
|