This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
83 lines (66 loc) · 3.64 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
<!--
Copyright (c) 2015 IBM Corp. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License.
-->
<?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="cloudant-sync"
version="0.4.2-SNAPSHOT">
<name>Cloudant Sync</name>
<description>Cloudant Sync Cordova Plugin</description>
<keywords>cloudant, sync, cloudant-sync, cloudantSync</keywords>
<license>Apache 2.0 License</license>
<repo>https://github.com/cloudant/sync-cordova-plugin#:plugin</repo>
<js-module src="node_modules/q/q.js" name="q" />
<js-module src="node_modules/lodash.isempty/index.js" name="isempty" />
<js-module src="node_modules/lodash.isfunction/index.js" name="isfunction" />
<js-module src="node_modules/lodash.isobject/index.js" name="isobject" />
<js-module src="node_modules/lodash.isstring/index.js" name="isstring" />
<js-module src="libs/lodash_funcs.js" name="lodash_funcs" />
<js-module src="libs/utils.js" name="utils" />
<js-module src="www/datastoremanager.js" name="DatastoreManager"/>
<js-module src="www/replicator.js" name="Replicator" />
<js-module src="www/httpinterceptors.js" name="HttpInterceptorContext"/>
<!-- Cordova deps -->
<dependency id="cordova-plugin-file" />
<!-- get npm dependencies -->
<hook type="before_plugin_install" src="hooks/getDependencies.js"/>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CloudantSync">
<param name="ios-package" value="CDTSyncPlugin"/>
</feature>
</config-file>
<framework src="libs/ios/CocoaLumberjack.framework" custom="true"/>
<framework src="libs/ios/CDTDatastore.framework" custom="true"/>
<framework src="libs/ios/FMDB.framework" custom="true"/>
<hook type="after_platform_add" src="hooks/embedFramework.sh"/>
<header-file src="src/ios/CDTSyncPlugin.h" />
<source-file src="src/ios/CDTSyncPlugin.m" />
<header-file src="src/ios/CDTSyncPluginDelegate.h" />
<source-file src="src/ios/CDTSyncPluginDelegate.m" />
<header-file src="src/ios/CDTSyncPluginInterceptor.h" />
<source-file src="src/ios/CDTSyncPluginInterceptor.m" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CloudantSync" >
<param name="android-package" value="com.cloudant.sync.cordova.CloudantSyncPlugin"/>
</feature>
</config-file>
<source-file src="src/android/CloudantSyncPlugin.java" target-dir="src/com/cloudant/sync/cordova" />
<source-file src="src/android/SyncPluginListener.java" target-dir="src/com/cloudant/sync/cordova" />
<source-file src="src/android/SyncPluginInterceptor.java" target-dir="src/com/cloudant/sync/cordova" />
<source-file src="src/android/CloudantQuery.java" target-dir="src/com/cloudant/sync/cordova" />
<framework src="assets/sync-extras.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>