/
plugin.xml
109 lines (90 loc) · 4.09 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-qq"
version="0.9.8">
<name>QQ</name>
<description>Cordova plugin for Tencent QQ Open SDK</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>rjfun,admob,google,ad</keywords>
<repo>https://github.com/floatinghotpot/cordova-plugin-qq.git</repo>
<issue>https://github.com/floatinghotpot/cordova-plugin-qq/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/QQ.js" name="QQ">
<clobbers target="window.QQ" />
</js-module>
<dependency id="cordova-plugin-extension" />
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.tencent.tauth.AuthActivity"
android:noHistory="true"
android:launchMode="singleTask" >
<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="tencent1104702980" />
</intent-filter>
</activity>
<activity android:name="com.tencent.connect.common.AssistActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:configChanges="orientation|keyboardHidden|screenSize"
/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="QQ">
<param name="android-package" value="com.rjfun.cordova.qq.QQPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/QQPlugin.java" target-dir="src/com/rjfun/cordova/qq" />
<source-file src="src/android/mta-sdk-1.6.2.jar" target-dir="libs" />
<source-file src="src/android/open_sdk_r5043.jar" target-dir="libs" />
<framework src="com.android.support:support-v4:+" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="QQ">
<param name="ios-package" value="QQPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>tentcentopenapi</string>
<key>CFBundleURLSchemes</key>
<array>
<string>tencent1104702980</string>
</array>
</dict>
</array>
</config-file>
<header-file src="src/ios/QQPlugin.h"/>
<source-file src="src/ios/QQPlugin.m"/>
<framework src="src/ios/TencentOpenAPI.framework" custom="true" />
<resource-file src="src/ios/TencentOpenApi_IOS_Bundle.bundle"/>
<framework src="CoreGraphics.framework" />
<framework src="CoreTelephony.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="Security.framework" />
<framework src="libiconv.dylib" />
<framework src="libsqlite3.dylib" />
<framework src="libstdc++.dylib" />
<framework src="libz.dylib" />
</platform>
</plugin>