forked from cordova-misc/cordova-webintent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
43 lines (36 loc) · 1.46 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="com.borismus.webintent"
version="1.0.0">
<name>WebIntent</name>
<description>Web intents for Cordova</description>
<license>MIT</license>
<keywords>cordova,webintent</keywords>
<preference name="SCHEME" />
<preference name="HOST" />
<preference name="PATH_PATTERN" />
<js-module src="www/webintent.js" name="WebIntent">
<clobbers target="WebIntent" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="WebIntent" >
<param name="android-package" value="com.borismus.webintent.WebIntent"/>
</feature>
</config-file>
<source-file src="src/android/WebIntent.java" target-dir="src/com/borismus/webintent" />
<config-file target="AndroidManifest.xml" parent="/*/application/activity">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data
android:scheme="$SCHEME"
android:host="$HOST"
android:pathPattern="$PATH_PATTERN"
/>
</intent-filter>
</config-file>
</platform>
</plugin>