-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
66 lines (60 loc) · 3.07 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
<?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="com.ataw.cordova.plugin.LoadingPlugin"
version="1.0.0">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>loading</name>
<description>原生loading效果,在页面加载的时候默认会呈现该效果</description>
<author>lijie371</author>
<keywords>loading</keywords>
<license>Apache 2.0 License</license>
<js-module src="www/loading.js" name="loading">
<clobbers target="loading" />
</js-module>
<!-- iOS -->
<!-- <platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ActivityIndicator">
<param name="ios-package" value="ActivityIndicator"/>
</feature>
<preference name="defaultLoadingTitle" value="loading" />
<preference name="enableLoadingWhenChangePage" value="true" />
</config-file>
<header-file src="src/ios/ActivityIndicator.h" />
<source-file src="src/ios/ActivityIndicator.m" />
<header-file src="src/ios/MBProgressHUD.h" />
<source-file src="src/ios/MBProgressHUD.m" />
</platform> -->
<!-- Android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="loading" >
<param name="android-package" value="com.ataw.cordova.plugin.LoadingPlugin"/>
<param name="onload" value="true" />
</feature>
<preference name="defaultLoadingTitle" value="loading" />
<preference name="enableLoadingWhenChangePage" value="true" />
</config-file>
<source-file src="src/android/LoadingPlugin.java" target-dir="src/com/ataw/cordova/plugin" />
<source-file src="src/android/AndroidProgressHUD.java" target-dir="src/com/ataw/cordova/plugin" />
<source-file src="src/android/layout/progress_hud.xml" target-dir="res/layout"/>
<source-file src="src/android/anim/spinner.xml" target-dir="res/anim"/>
<source-file src="src/android/drawable/progress_hud_bg.xml" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_0.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_1.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_2.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_3.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_4.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_5.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_6.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_7.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_8.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_9.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_10.png" target-dir="res/drawable"/>
<source-file src="src/android/drawable/spinner_11.png" target-dir="res/drawable"/>
<source-file src="src/android/values/progress_hud_styles.xml" target-dir="res/values"/>
</platform>
</plugin>