forked from alunny/ChildBrowser
-
Notifications
You must be signed in to change notification settings - Fork 39
/
plugin.xml
66 lines (53 loc) · 2.41 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins.childbrowser"
version="4.2.1">
<name>Child Browser</name>
<description>
Provides lightweight browser window for viewing pages external to the host application,
along with the ability to easily return to the application.
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version="<=2.9.0" />
</engines>
<asset src="www/childbrowser.js" target="childbrowser.js" />
<asset src="www/childbrowser" target="childbrowser" />
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.phonegap.plugins.childBrowser.ChildBrowser"
android:label="@string/app_name">
<intent-filter>
</intent-filter>
</activity>
</config-file>
<!-- Cordova 1.5 - 1.9 -->
<config-file target="res/xml/plugins.xml" parent="/plugins">
<plugin name="ChildBrowser"
value="com.phonegap.plugins.childBrowser.ChildBrowser"/>
</config-file>
<!-- Cordova >= 2.0.0 -->
<config-file target="res/xml/config.xml" parent="plugins">
<plugin name="ChildBrowser"
value="com.phonegap.plugins.childBrowser.ChildBrowser"/>
</config-file>
<source-file src="src/android/com/phonegap/plugins/childBrowser/ChildBrowser.java" target-dir="src/com/phonegap/plugins/childBrowser"/>
</platform>
<!-- ios -->
<platform name="ios">
<!-- Cordova < 2.3 -->
<plugins-plist key="ChildBrowser" string="ChildBrowserCommand" />
<!-- Cordova >= 2.3 -->
<config-file target="config.xml" parent="plugins">
<plugin name="ChildBrowser" value="ChildBrowserCommand"/>
</config-file>
<resource-file src="src/ios/ChildBrowser.bundle" />
<resource-file src="src/ios/ChildBrowserViewController.xib" />
<header-file src="src/ios/ChildBrowserCommand.h" />
<header-file src="src/ios/ChildBrowserViewController.h" />
<source-file src="src/ios/ChildBrowserCommand.m" />
<source-file src="src/ios/ChildBrowserViewController.m" />
</platform>
</plugin>