-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
60 lines (54 loc) · 2.42 KB
/
plugin.xml
File metadata and controls
60 lines (54 loc) · 2.42 KB
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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="com.komacke.chromium.syncfilesystem"
version="0.1.6-dev">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>Chrome Apps SyncFileSystem API</name>
<keywords>chrome,sync,file,filesystem</keywords>
<repo>https://github.com/komacke/cordova-syncFileSystem.git</repo>
<issue>https://github.com/komacke/cordova-syncFileSystem/issues</issue>
<dependency id="cordova-plugin-chrome-apps-runtime" />
<dependency id="cordova-plugin-chrome-apps-storage" />
<dependency id="cordova-plugin-chrome-apps-identity" />
<dependency id="cordova-plugin-file" />
<js-module src="www/syncFileSystem.js" name="SyncFileSystem">
<!-- should this be com.komacke.chromium? right now want compatible with chrome apps -->
<clobbers target="chrome.syncFileSystem" />
</js-module>
<js-module src="www/identity.js" name="Identity" />
<js-module src="www/id-management.js" name="IdManagement" />
<js-module src="www/xhr.js" name="Xhr" />
<js-module src="www/constants.js" name="Constants" />
<platform name="ios">
<source-file src="src/ios/SyncFileSystem.m" />
<header-file src="src/ios/SyncFileSystem.h" />
<config-file target="config.xml" parent="/widget">
<access origin="https://www.googleapis.com/drive/*" />
<access origin="https://www.googleapis.com/upload/drive/*" />
<access origin="https://*.googleusercontent.com/*" />
<feature name="SyncFileSystem">
<param name="ios-package" value="SyncFileSystem"/>
<param name="onload" value="true"/>
</feature>
</config-file>
</platform>
<platform name="android">
<source-file src="src/android/SyncFileSystem.java" target-dir="src/com/komacke/chromium" />
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="SyncFileSystem">
<param name="android-package" value="com.komacke.chromium.SyncFileSystem"/>
<param name="onload" value="true"/>
</feature>
<access origin="https://www.googleapis.com/drive/*" />
<access origin="https://www.googleapis.com/upload/drive/*" />
<access origin="https://*.googleusercontent.com/*" />
</config-file>
</platform>
</plugin>