测试
diff --git a/platforms/android/android.json b/platforms/android/android.json
index 8d319b4..105b5f2 100644
--- a/platforms/android/android.json
+++ b/platforms/android/android.json
@@ -67,6 +67,46 @@
{
"xml": "<feature name=\"screenshotName\"><param name=\"android-package\" value=\"com.coffice.ScreenshotBlocker\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
+ },
+ {
+ "xml": "<feature name=\"QQSDK\"><param name=\"android-package\" value=\"me.vanpan.qqsdk.QQSDKPlugin\" /></feature>",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"https://openmobile.qq.com/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://qzonestyle.gtimg.cn/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://pub.idqqimg.com/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://qzs.qq.com/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://m.qzone.com/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://*.ptlogin2.qq.com/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://*.qq.com/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<access origin=\"http://q2.qlogo.cn/*\" />",
+ "count": 1
+ },
+ {
+ "xml": "<preference name=\"QQ_APP_ID\" value=\"101885581\" />",
+ "count": 1
}
]
}
@@ -266,6 +306,34 @@
}
]
}
+ },
+ "app/src/main/AndroidManifest.xml": {
+ "parents": {
+ "/manifest": [
+ {
+ "xml": "<uses-permission android:name=\"android.permission.INTERNET\" />",
+ "count": 1
+ },
+ {
+ "xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
+ "count": 1
+ },
+ {
+ "xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
+ "count": 1
+ }
+ ],
+ "/manifest/application": [
+ {
+ "xml": "<activity android:launchMode=\"singleTask\" android:name=\"com.tencent.tauth.AuthActivity\" android:noHistory=\"true\"><intent-filter><action android:name=\"android.intent.action.VIEW\" /><category android:name=\"android.intent.category.DEFAULT\" /><category android:name=\"android.intent.category.BROWSABLE\" /><data android:scheme=\"tencent101885581\" /></intent-filter></activity>",
+ "count": 1
+ },
+ {
+ "xml": "<activity android:configChanges=\"orientation|keyboardHidden\" android:name=\"com.tencent.connect.common.AssistActivity\" android:screenOrientation=\"portrait\" android:theme=\"@android:style/Theme.Translucent.NoTitleBar\"></activity>",
+ "count": 1
+ }
+ ]
+ }
}
}
},
@@ -329,6 +397,10 @@
},
"cordova-plugin-prevent-screenshot-coffice": {
"PACKAGE_NAME": "com.dalipolice.app"
+ },
+ "cordova-plugin-qqsdk": {
+ "QQ_APP_ID": "101885581",
+ "PACKAGE_NAME": "com.dalipolice.app"
}
},
"dependent_plugins": {},
@@ -684,6 +756,14 @@
"clobbers": [
"window.plugins.preventscreenshot"
]
+ },
+ {
+ "id": "cordova-plugin-qqsdk.QQSDK",
+ "file": "plugins/cordova-plugin-qqsdk/www/qq.js",
+ "pluginId": "cordova-plugin-qqsdk",
+ "clobbers": [
+ "QQSDK"
+ ]
}
],
"plugin_metadata": {
@@ -705,6 +785,7 @@
"cordova-plugin-wkwebview-engine": "1.2.1",
"cordova-plugin-brightness": "0.1.5",
"cordova-plugin-fingerprint-aio": "3.0.1",
- "cordova-plugin-prevent-screenshot-coffice": "1.0.1"
+ "cordova-plugin-prevent-screenshot-coffice": "1.0.1",
+ "cordova-plugin-qqsdk": "0.9.7"
}
}