-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathplugin.xml
41 lines (32 loc) · 1.43 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
<?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="cordova-plugin-shortcuts-android"
version="0.1.2">
<name>Android Shortcuts</name>
<description>
<p>This plugin lets you manage dynamic and pinned shortcuts for Android</p>
</description>
<license>MIT</license>
<js-module src="www/ShortcutsPlugin.js" name="ShortcutsPlugin">
<clobbers target="Shortcuts" />
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
<framework src="com.android.support:support-compat:27.0.0" />
<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="ShortcutsPlugin" >
<param name="android-package" value="com.plugins.shortcuts.ShortcutsPlugin"/>
</feature>
</config-file>
<!-- cordova plugin src files -->
<source-file src="src/android/ShortcutsPlugin.java" target-dir="src/com/plugin/shortcuts" />
</platform>
</plugin>