-
Notifications
You must be signed in to change notification settings - Fork 9
/
plugin.xml
43 lines (37 loc) · 1.72 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-awesome-shared-preferences"
version="0.1.0">
<name>Shared preferences</name>
<description>Save and retrieve persistent key-value pairs of any Javascript data type</description>
<author>Adriano Di Giovanni</author>
<keywords>shared,preferences</keywords>
<license>MIT</license>
<repo>https://github.com/adriano-di-giovanni/cordova-plugin-shared-preferences.git</repo>
<issue>https://github.com/adriano-di-giovanni/cordova-plugin-shared-preferences/issues</issue>
<js-module src="www/index.js" name="SharedPreferences">
<clobbers target="window.plugins.SharedPreferences" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="SharedPreferences">
<param name="android-package"
value="com.adrianodigiovanni.sharedpreferences.CDVSharedPreferences"/>
</feature>
</config-file>
<source-file src="src/android/CDVSharedPreferences.java"
target-dir="src/com/adrianodigiovanni/sharedpreferences" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SharedPreferences">
<param name="ios-package" value="CDVSharedPreferences" />
</feature>
</config-file>
<header-file src="src/ios/CDVSharedPreferences.h" />
<source-file src="src/ios/CDVSharedPreferences.m" />
<header-file src="src/ios/NSUserDefaults+CDVSharedPreferences.h" />
<source-file src="src/ios/NSUserDefaults+CDVSharedPreferences.m" />
</platform>
</plugin>