This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.xml
61 lines (53 loc) · 2.4 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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2014 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="cordova-plugin-chrome-apps-system-storage"
version="1.2.3-dev">
<engines>
<engine name="cordova-android" version=">=4" />
</engines>
<name>Chrome System Storage API</name>
<keywords>chrome,system,storage</keywords>
<repo>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-system-storage.git</repo>
<issue>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-system-storage/issues</issue>
<dependency id="cordova-plugin-chrome-apps-common@1" />
<js-module src="system.storage.js" name="system.storage">
<clobbers target="chrome.system.storage" />
</js-module>
<platform name="android">
<dependency id="cordova-plugin-background-app@2" />
<framework src="com.android.support:support-v4:+" />
<source-file src="src/android/ChromeSystemStorage.java" target-dir="src/org/chromium" />
<source-file src="src/android/ChromeSystemStorageReceiver.java" target-dir="src/org/chromium" />
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="ChromeSystemStorage">
<param name="android-package" value="org.chromium.ChromeSystemStorage"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="org.chromium.ChromeSystemStorageReceiver">
<intent-filter>
<data android:scheme="file" />
<action android:name="android.intent.action.MEDIA_BAD_REMOVAL" />
<action android:name="android.intent.action.MEDIA_MOUNTED" />
<action android:name="android.intent.action.MEDIA_REMOVED" />
<action android:name="android.intent.action.MEDIA_SHARED" />
<action android:name="android.intent.action.MEDIA_UNMOUNTED" />
</intent-filter>
</receiver>
</config-file>
</platform>
<platform name="ios">
<source-file src="src/ios/ChromeSystemStorage.m" />
<config-file target="config.xml" parent="/widget">
<feature name="ChromeSystemStorage">
<param name="ios-package" value="ChromeSystemStorage"/>
</feature>
</config-file>
</platform>
</plugin>