-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.xml
112 lines (98 loc) · 6.82 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
110
111
112
<?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-update"
version="0.0.5">
<name>Umeng Update Plugin</name>
<description>A cordova plugin, a JS version for Umeng Update SDK</description>
<license>MIT</license>
<keywords>cordova,umeng</keywords>
<repo>https://github.com/crossmo/cordova-umeng-update.git</repo>
<issue>https://github.com/crossmo/cordova-umeng-update/issues</issue>
<engines>
<engine name="cordova" version=">=3.5.0" />
</engines>
<!-- js module-->
<js-module src="www/umeng.update.js" name="Update">
<merges target="Umeng" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Update">
<param name="ios-package" value="CDVUpdate"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSAppTransportSecurity">
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</config-file>
<header-file src="src/ios/CDVUpdate.h" />
<source-file src="src/ios/CDVUpdate.m" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Update">
<param name="android-package" value="org.apache.cordova.umeng.Update"/>
<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>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service
android:name="com.umeng.update.net.DownloadingService"
android:process=":DownloadingService" >
</service>
<activity
android:name="com.umeng.update.UpdateDialogActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
</activity>
</config-file>
<source-file src="src/android/Update.java" target-dir="src/org/apache/cordova/umeng" />
<source-file src="src/android/libs/umeng-update-v2.6.0.1.jar" target-dir="libs" />
<source-file src="src/android/res/drawable/tb_munion_icon.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/tb_munion_item_selector.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_common_gradient_orange.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_common_gradient_red.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_cancel_bg_focused.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_cancel_bg_normal.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_cancel_bg_selector.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_cancel_bg_tap.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_check_selector.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_close_bg_selector.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_ok_bg_focused.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_ok_bg_normal.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_ok_bg_selector.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_button_ok_bg_tap.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_dialog_bg.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_title_bg.xml" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/umeng_update_wifi_disable.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_btn_check_off_focused_holo_light.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_btn_check_off_holo_light.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_btn_check_off_pressed_holo_light.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_btn_check_on_focused_holo_light.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_btn_check_on_holo_light.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_btn_check_on_pressed_holo_light.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_close_bg_normal.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/drawable-hdpi/umeng_update_close_bg_tap.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/res/layout/tb_munion_aditem.xml" target-dir="res/layout" />
<source-file src="src/android/res/layout/umeng_common_download_notification.xml" target-dir="res/layout" />
<source-file src="src/android/res/layout/umeng_update_dialog.xml" target-dir="res/layout" />
<source-file src="src/android/res/layout-v9/umeng_common_download_notification.xml" target-dir="res/layout-v9" />
<source-file src="src/android/res/values/tb_munion_strings.xml" target-dir="res/values" />
<source-file src="src/android/res/values/umeng_common_strings.xml" target-dir="res/values" />
<source-file src="src/android/res/values/umeng_update_string.xml" target-dir="res/values" />
<source-file src="src/android/res/values-zh/umeng_common_strings.xml" target-dir="res/values-zh" />
<source-file src="src/android/res/values-zh/umeng_update_string.xml" target-dir="res/values-zh" />
</platform>
</plugin>