-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplugin.xml
84 lines (69 loc) · 3.06 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins.sqlite"
version="0.7.0">
<name>SQLitePlugin</name>
<license>MIT</license>
<description>Native interface to SQLite for PhoneGap/Cordova. Allows you to use more storage and provides more flexibility than the standard Web SQL database (window.openDatabase).</description>
<author>Chris Brody</author>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/SQLitePlugin.js" name="SQLitePlugin">
<clobbers target="SQLitePlugin" />
</js-module>
<!-- amazon-fireos -->
<platform name="amazon-fireos">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="org.pgsqlite.SQLitePlugin"
android:label="@string/app_name">
</activity>
</config-file>
<!-- Cordova >= 3.0.0 -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="android-package" value="org.pgsqlite.SQLitePlugin"/>
</feature>
</config-file>
<source-file src="src/android/org/pgsqlite/SQLitePlugin.java" target-dir="src/org/pgsqlite"/>
</platform>
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="org.pgsqlite.SQLitePlugin"
android:label="@string/app_name">
</activity>
</config-file>
<!-- Cordova >= 3.0.0 -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="android-package" value="org.pgsqlite.SQLitePlugin"/>
</feature>
</config-file>
<source-file src="src/android/org/pgsqlite/SQLitePlugin.java" target-dir="src/org/pgsqlite"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="ios-package" value="SQLitePlugin" />
</feature>
</config-file>
<!-- Note: the ios src is based off src/ios implicitly -->
<header-file src="src/ios/SQLitePlugin.h" />
<source-file src="src/ios/SQLitePlugin.m" />
<framework src="libsqlite3.dylib" />
</platform>
<!-- wp8 [should work but not tested on wp7] -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="wp-package" value="SQLitePlugin" />
</feature>
</config-file>
<source-file src="src/wp/cs-sqlite-dll/SQLitePlugin.cs" />
<framework src="src/wp/cs-sqlite-dll/Newtonsoft.Json.dll" custom="true" />
<framework src="src/wp/cs-sqlite-dll/SQLiteWPNative.dll" custom="true" />
</platform>
</plugin>