forked from TheCocoaProject/cordova-plugin-nativestorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
70 lines (61 loc) · 2.38 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
<?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-nativestorage"
version="2.3.2">
<name>NativeStorage</name>
<description>Native storage of variables in Android and iOS</description>
<license>Apache 2.0</license>
<keywords>cordova, native storage, LocalStorage, NSUserDefaults, SharedPreferences</keywords>
<repo></repo>
<issue></issue>
<js-module src="www/mainHandle.js" name="mainHandle">
<clobbers target="NativeStorage" />
</js-module>
<js-module src="www/LocalStorageHandle.js" name="LocalStorageHandle">
</js-module>
<js-module src="www/NativeStorageError.js" name="NativeStorageError">
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="NativeStorage">
<param name="android-package" value="NativeStorage"/>
</feature>
</config-file>
<source-file src="src/android/NativeStorage.java" target-dir="src/" />
<source-file src="src/android/Crypto.java" target-dir="src/" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="NativeStorage">
<param name="ios-package" value="NativeStorage"/>
</feature>
</config-file>
<header-file src="src/ios/NativeStorage.h"/>
<source-file src="src/ios/NativeStorage.m"/>
</platform>
<!-- Browser -->
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="NativeStorage">
<param name="browser-package" value="NativeStorage" />
</feature>
</config-file>
</platform>
<!-- osx -->
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="NativeStorage">
<param name="osx-package" value="NativeStorage" />
</feature>
</config-file>
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/NativeStorage.js" name="NativeStorage">
<runs />
</js-module>
</platform>
</plugin>