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
/
Copy pathplugin.xml
82 lines (68 loc) · 3.37 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
<?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="cordova-plugin-chrome-apps-bootstrap"
version="3.0.2-dev">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>Chrome Apps Core</name>
<keywords>chrome,core,bootstrap,window</keywords>
<repo>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-bootstrap.git</repo>
<issue>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-bootstrap/issues</issue>
<dependency id="cordova-plugin-chrome-apps-common@1" />
<dependency id="cordova-plugin-chrome-apps-runtime@2" />
<dependency id="cordova-plugin-chrome-apps-storage@1" />
<dependency id="cordova-plugin-background-app@2" />
<!-- Javascript modules. Note that some module names differ from the chrome API locations -->
<js-module src="api/app/window.js" name="app.window">
<clobbers target="chrome.app.window" />
</js-module>
<js-module src="api/mobile.js" name="mobile.impl">
<clobbers target="chrome.mobile.impl" />
<runs />
</js-module>
<!-- Integration files -->
<asset src="www/chromeapp.html" target="plugins/cordova-plugin-chrome-apps-bootstrap/chromeapp.html" />
<asset src="www/chromebgpage.html" target="plugins/cordova-plugin-chrome-apps-bootstrap/chromebgpage.html" />
<asset src="www/chromeappstyles.css" target="plugins/cordova-plugin-chrome-apps-bootstrap/chromeappstyles.css" />
<asset src="www/bgboot.js" target="plugins/cordova-plugin-chrome-apps-bootstrap/bgboot.js" />
<asset src="www/fgboot.js" target="plugins/cordova-plugin-chrome-apps-bootstrap/fgboot.js" />
<platform name="android">
<source-file src="src/android/ChromeAppWindow.java" target-dir="src/org/chromium" />
<!-- Convert 'chrome-extension://' urls -->
<source-file src="src/android/ChromeExtensionURLs.java" target-dir="src/org/chromium" />
<js-module src="api/helpers/ChromeExtensionURLs.android.js" name="helpers.ChromeExtensionURLs" />
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="ChromeAppWindow">
<param name="android-package" value="org.chromium.ChromeAppWindow"/>
</feature>
<feature name="ChromeExtensionURLs">
<param name="android-package" value="org.chromium.ChromeExtensionURLs"/>
<param name="onload" value="true"/>
</feature>
<preference name="DisallowOverscroll" value="true" />
</config-file>
</platform>
<platform name="ios">
<source-file src="src/ios/ChromeAppWindow.m" />
<source-file src="src/ios/ChromeExtensionURLs.m" />
<js-module src="api/helpers/ChromeExtensionURLs.ios.js" name="helpers.ChromeExtensionURLs" />
<config-file target="config.xml" parent="/widget">
<feature name="ChromeAppWindow">
<param name="ios-package" value="ChromeAppWindow"/>
</feature>
<feature name="ChromeExtensionURLs">
<param name="ios-package" value="ChromeExtensionURLs"/>
<param name="onload" value="true"/>
</feature>
<access origin="chrome-extension://*" />
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
<preference name="DisallowOverscroll" value="true" />
</config-file>
</platform>
</plugin>