-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·58 lines (49 loc) · 2.5 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
<?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="Umeng"
version="3.0.0">
<name>Umeng</name>
<js-module src="www/Umeng.js" name="Umeng">
<clobbers target="MobclickAgent" />
</js-module>
<!-- ios -->
<platform name="ios">
<header-file src="src/ios/UMPlugin.h" />
<source-file src="src/ios/UMPlugin.m" />
<config-file target="config.xml" parent="/widget/plugins">
<feature name="Umeng">
<param name="ios-package" value="UMPlugin"/>
</feature>
</config-file>
<framework src="src/ios/UMMobClick.framework" custom="true" />
<framework src="CoreTelephony.framework" />
<framework src="libsqlite3.tbd"/>
<framework src="libz.tbd"/>
</platform>
<!-- android -->
<platform name="android">
<source-file src="src/android/umeng-analytics-v6.1.2.jar" target-dir="libs" />
<source-file src="src/android/UMPlugin.java" target-dir="src/com/umeng/plugin" />
<config-file target="res/xml/config.xml" parent="/widget/plugins">
<feature name="Umeng">
<param name="android-package" value="com.umeng.plugin.UMPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<!-- appkey -->
<meta-data android:name="UMENG_APPKEY" android:value="5c19af3eb465f56ab2000129" />
<meta-data android:name="UMENG_CHANNEL" android:value="${UMENG_CHANNEL_VALUE}"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
</platform>
</plugin>