-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
60 lines (52 loc) · 2.53 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
<?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-sugarizeros" version="0.1">
<name>Cordova Sugarizer OS Plugin</name>
<author>Jeremie Amsellem</author>
<description>
</description>
<keywords>cordova, sugarizer, sugarizeros</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="sugarizeros.js" name="sugarizerOsPlugin">
<clobbers target="window.SugarizerOS"/>
</js-module>
<platform name="android">
<hook type="before_plugin_install" src="hooks/hook.sh" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="FakeLauncherActivity"
android:enabled="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application/activity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="SugarizerOSPlugin">
<param name="android-package" value="org.olpcfrance.sugarizer.SugarizerOSPlugin"/>
</feature>
</config-file>
<source-file src="android/MainActivity.java" target-dir="src/org/olpcfrance/sugarizer"/>
<source-file src="android/SugarizerOSPlugin.java" target-dir="src/org/olpcfrance/sugarizer"/>
<source-file src="android/SugarWifiManager.java" target-dir="src/org/olpcfrance/sugarizer"/>
<source-file src="android/IconCacheManager.java" target-dir="src/org/olpcfrance/sugarizer"/>
<source-file src="android/SharedPreferencesManager.java" target-dir="src/org/olpcfrance/sugarizer"/>
<source-file src="android/FakeLauncherActivity.java" target-dir="src/org/olpcfrance/sugarizer"/>
</platform>
</plugin>