forked from pwa-builder/ManifoldCordova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
69 lines (59 loc) · 2.78 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-hostedwebapp"
version="0.2.1">
<name>HostedWebApp</name>
<description>Hosted Web App Plugin</description>
<license>MIT License</license>
<keywords>cordova,manifest,hosted,web,manifoldjs</keywords>
<repo>https://github.com/manifoldjs/ManifoldCordova.git</repo>
<issue>https://github.com/manifoldjs/ManifoldCordova/issues</issue>
<dependency id="cordova-plugin-whitelist" version=">=1.0.1" />
<dependency id="cordova-plugin-network-information" version=">=1.0.0" />
<hook type="before_prepare" src="scripts/updateConfigurationBeforePrepare.js" />
<hook type="after_prepare" src="scripts/updateConfigurationAfterPrepare.js" />
<hook type="after_prepare" src="scripts/replaceWindowsWrapperFiles.js" />
<hook type="before_plugin_rm" src="scripts/rollbackWindowsWrapperFiles.js" />
<js-module src="www/hostedWebApp.js" name="hostedwebapp">
<clobbers target="hostedwebapp" />
</js-module>
<asset src="www/hostedapp-bridge.js" target="hostedapp-bridge.js" />
<engines>
<engine name="cordova-windows" version="<=4.1.0" />
<engine name="cordova-ios" version="<=3.9.2" />
<engine name="cordova-android" version="<=4.1.1" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="HostedWebApp" >
<param name="android-package" value="com.manifoldjs.hostedwebapp.HostedWebApp"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="res/xml/config.xml" parent="/*/feature[@name='NetworkStatus']">
<param name="onload" value="true" />
</config-file>
<source-file src="src/android/HostedWebApp.java" target-dir="src/com/manifoldjs/hostedwebapp" />
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/HostedWebAppPluginProxy.js" name="HostedWebAppPluginProxy">
<merges target="" />
</js-module>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="HostedWebApp">
<param name="ios-package" value="CDVHostedWebApp"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="config.xml" parent="/*/feature[@name='NetworkStatus']">
<param name="onload" value="true" />
</config-file>
<header-file src="src/ios/CDVHostedWebApp.h" />
<source-file src="src/ios/CDVHostedWebApp.m" />
</platform>
</plugin>