xiongzhu пре 4 година
родитељ
комит
01da305949
3 измењених фајлова са 17 додато и 1 уклоњено
  1. 1 0
      config.xml
  2. 11 0
      package-lock.json
  3. 5 1
      package.json

+ 1 - 0
config.xml

@@ -15,6 +15,7 @@
 	<allow-intent href="sms:*"/>
 	<allow-intent href="mailto:*"/>
 	<allow-intent href="geo:*"/>
+    <allow-navigation href="*" />
 	<preference name="AppendUserAgent" value="#cordova#"/>
 	<preference name="BackgroundColor" value="#000000"/>
 	<preference name="DisallowOverscroll" value="true"/>

+ 11 - 0
package-lock.json

@@ -416,6 +416,12 @@
         "xml-escape": "^1.1.0"
       }
     },
+    "cordova-plugin-android-notch": {
+      "version": "1.0.3",
+      "resolved": "https://registry.npmmirror.com/cordova-plugin-android-notch/download/cordova-plugin-android-notch-1.0.3.tgz",
+      "integrity": "sha1-plze5hj4KirR3Z7wp8M+SXFxUkg=",
+      "dev": true
+    },
     "cordova-plugin-code-push": {
       "version": "1.11.7",
       "resolved": "https://registry.nlark.com/cordova-plugin-code-push/download/cordova-plugin-code-push-1.11.7.tgz",
@@ -462,6 +468,11 @@
       "integrity": "sha1-i1VGtWtE5tLGm+fMkg1eE0y7K38=",
       "dev": true
     },
+    "cordova-plugin-remote-injection": {
+      "version": "git+https://github.com/x1ongzhu/cordova-plugin-remote-injection.git#ecfb1c40c94f7f68b122d9fe0b3f64a4043ad7b8",
+      "from": "git+https://github.com/x1ongzhu/cordova-plugin-remote-injection.git",
+      "dev": true
+    },
     "cordova-plugin-splashscreen": {
       "version": "6.0.0",
       "resolved": "https://registry.npm.taobao.org/cordova-plugin-splashscreen/download/cordova-plugin-splashscreen-6.0.0.tgz",

+ 5 - 1
package.json

@@ -16,6 +16,7 @@
     "code-push": "^2.0.4",
     "cordova-android": "^9.1.0",
     "cordova-ios": "^6.2.0",
+    "cordova-plugin-android-notch": "^1.0.3",
     "cordova-plugin-code-push": "^1.11.7",
     "cordova-plugin-compat": "^1.2.0",
     "cordova-plugin-device": "^2.0.3",
@@ -24,6 +25,7 @@
     "cordova-plugin-file": "git+https://github.com/apache/cordova-plugin-file.git#4.3.3",
     "cordova-plugin-file-transfer": "git+https://github.com/apache/cordova-plugin-file-transfer.git#1.6.3",
     "cordova-plugin-network-information": "^3.0.0",
+    "cordova-plugin-remote-injection": "git+https://github.com/x1ongzhu/cordova-plugin-remote-injection.git",
     "cordova-plugin-splashscreen": "^6.0.0",
     "cordova-plugin-statusbar": "^3.0.0",
     "cordova-plugin-whitelist": "^1.3.5",
@@ -40,7 +42,9 @@
       "cordova-plugin-network-information": {},
       "cordova-plugin-splashscreen": {},
       "cordova-plugin-code-push": {},
-      "cordova-save-image-gallery": {}
+      "cordova-save-image-gallery": {},
+      "cordova-plugin-remote-injection": {},
+      "cordova-plugin-android-notch": {}
     },
     "platforms": [
       "android",