-
Notifications
You must be signed in to change notification settings - Fork 11
/
plugin.xml
68 lines (54 loc) · 2.58 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-umeng-analytics"
version="0.0.6">
<name>Umeng Analytics Plugin</name>
<description>A cordova plugin, a JS version for Umeng Analytics SDK</description>
<license>MIT</license>
<keywords>cordova,umeng</keywords>
<repo>https://github.com/pipitang/cordova-umeng-analytics.git</repo>
<issue>https://github.com/pipitang/cordova-umeng-analytics/issues</issue>
<engines>
<engine name="cordova" version=">=3.5.0" />
</engines>
<!-- js module-->
<js-module src="www/umeng.analytics.js" name="Analytics">
<merges target="Umeng" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Analytics">
<param name="ios-package" value="CDVAnalytics"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVAnalytics.h" />
<source-file src="src/ios/CDVAnalytics.m" />
<framework src="src/ios/UMMobClick.framework" custom="true" />
<framework src="CoreTelephony.framework" />
<framework src="Security.framework" />
<framework src="libsqlite3.0.tbd" />
<framework src="libz.tbd" />
<framework src="libz.dylib" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Analytics">
<param name="android-package" value="org.apache.cordova.umeng.Analytics"/>
<param name="onload" value="true" />
</feature>
</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.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/Analytics.java" target-dir="src/org/apache/cordova/umeng" />
<source-file src="src/android/libs/umeng-analytics-v5.6.1.jar" target-dir="libs" />
</platform>
</plugin>