forked from sunsus/plugins-application-preferences
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
39 lines (33 loc) · 1.56 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.appgiraffe.plugins.applicationPreferences"
version="0.1.0">
<name>ApplicationPreferences</name>
<description>Application Preferences</description>
<license>Copyright (c) 2013 AppGiraffe, LLC</license>
<keywords>phonegap,preferences</keywords>
<js-module src="www/applicationPreferences.js" name="applicationPreferences">
<clobbers target="appgiraffe.plugins.applicationPreferences" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="applicationPreferences">
<!-- android-package value should contain fully qualified class name -->
<param name="android-package" value="com.appgiraffe.plugins.applicationPreferences.applicationPreferences"/>
</feature>
</config-file>
<source-file src="src/android/applicationPreferences.java" target-dir="src/com/appgiraffe/plugins/applicationPreferences" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="applicationPreferences">
<param name="ios-package" value="AGApplicationPreferences"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/AGApplicationPreferences.h" />
<source-file src="src/ios/AGApplicationPreferences.m" />
</platform>
</plugin>