-
Notifications
You must be signed in to change notification settings - Fork 17
/
plugin.xml
42 lines (33 loc) · 1.51 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
<?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.plugins.shortcut"
version="0.1.1">
<name>Home Shortcuts</name>
<description>
<p>This is the plugin to create/delete Shortcuts (Android) in Apache Cordova/PhoneGap!</p>
<p>The Shortcut plugin for Apache Cordova allows you to create or delete the shortcut in the home
of any andorid device.</p>
</description>
<license>MIT</license>
<js-module src="www/ShortcutPlugin.js" name="ShortcutPlugin">
<clobbers target="ShortcutPlugin" />
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ShortcutPlugin" >
<param name="android-package" value="com.plugins.shortcut.ShortcutPlugin"/>
</feature>
</config-file>
<!-- cordova plugin src files -->
<source-file src="src/android/ShortcutPlugin.java" target-dir="src/com/plugin/shortcut" />
</platform>
</plugin>