-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
98 lines (84 loc) · 4.29 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?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-realm" version="0.0.1">
<name>cordova-plugin-realm</name>
<description>Realm mobile database plugin for Cordova.</description>
<author>Airam Rguez</author>
<keywords>realm, database, nosql, mobile, ios, android</keywords>
<repo>https://github.com/airamrguez/cordova-plugin-realm</repo>
<info>
IMPORTANT: This plugin is still under development. Use it on your own risk.
</info>
<js-module name="utils" src="www/utils.js" />
<js-module name="Types" src="www/Types.js" />
<js-module name="checkArgs" src="www/checkArgs.js" />
<js-module name="RealmResults" src="www/RealmResults.js" />
<js-module name="QueryBuilder" src="www/QueryBuilder.js" />
<js-module name="RealmNativeInstance" src="www/RealmNativeInstance.js" />
<js-module name="Realm" src="www/Realm.js">
<clobbers target="cordova.plugins.realm" />
</js-module>
<platform name="android">
<framework src="src/android/realm.gradle" custom="true" type="gradleReference" />
<framework src="com.facebook.stetho:stetho:1.4.1" />
<framework src="com.uphyca:stetho_realm:2.0.0" />
<framework src="com.google.code.gson:gson:2.3" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="RealmPlugin">
<param name="android-package" value="io.github.airamrguez.plugins.realm.RealmPlugin" />
</feature>
</config-file>
<source-file src="src/android/io/github/airamrguez/plugins/realm/RealmPlugin.java" target-dir="src/io/github/airamrguez/plugins/realm" />
<source-file src="src/android/io/github/airamrguez/plugins/realm/ResultsSlice.java" target-dir="src/io/github/airamrguez/plugins/realm" />
<!--<source-file src="src/android/io/github/airamrguez/plugins/realm/Schema.java" target-dir="src/io/github/airamrguez/plugins/realm"/> -->
<hook type="before_plugin_install" src="hooks/patchAndroidGradle.js" />
</platform>
<platform name="ios">
<framework src="libc++.tbd" />
<framework src="libz.tbd" />
<framework src="src/ios/realm-framework/ios/dynamic/Realm.framework" custom="true" embed="true" />
<header-file src="src/ios/Models.h" />
<header-file src="src/ios/MCJSONDateTransformer.h" />
<header-file src="src/ios/MCJSONNonNullStringTransformer.h" />
<header-file src="src/ios/MCJSONPrimaryKeyTransformer.h" />
<header-file src="src/ios/MCJSONValueTransformer.h" />
<header-file src="src/ios/RLMObject+Copying.h" />
<header-file src="src/ios/RLMObject+JSON.h" />
<header-file src="src/ios/DKPredicate.h" />
<header-file src="src/ios/DKPredicateBuilder.h" />
<source-file src="src/ios/MCJSONDateTransformer.m" />
<source-file src="src/ios/MCJSONNonNullStringTransformer.m" />
<source-file src="src/ios/MCJSONPrimaryKeyTransformer.m" />
<source-file src="src/ios/MCJSONValueTransformer.m" />
<source-file src="src/ios/RLMObject+Copying.m" />
<source-file src="src/ios/RLMObject+JSON.m" />
<source-file src="src/ios/DKPredicate.m" />
<source-file src="src/ios/DKPredicateBuilder.m" />
<header-file src="src/ios/RealmPlugin.h" />
<source-file src="src/ios/RealmPlugin.m" />
<config-file parent="/*" target="config.xml">
<feature name="RealmPlugin">
<param name="ios-package" value="RealmPlugin" />
</feature>
</config-file>
<hook type="before_plugin_install" src="hooks/downloadiOSFramework.js" />
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="RealmPlugin">
<param name="browser-package" value="RealmPlugin" />
</feature>
</config-file>
<js-module src="src/browser/client/schemaProxy.js" name="schemaProxy" />
<js-module src="src/browser/client/RealmProxy.js" name="RealmProxy">
<runs />
</js-module>
</platform>
<engines>
<engine name="cordova" version=">=7.1.0" />
<engine name="cordova-android" version=">=6.3.0" />
<engine name="cordova-ios" version=">=4.5.0" />
</engines>
<hook type="before_plugin_install" src="hooks/copyResources.js" />
<hook type="before_plugin_install" src="hooks/addProjectHooks.js" />
<hook type="before_plugin_uninstall" src="hooks/removeResources.js" />
</plugin>