forked from leecrossley/cordova-plugin-boot-launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
28 lines (28 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="fr.edps.cordova.bootlauncher" version="0.1.1">
<name>Boot Launcher</name>
<author>Lee Crossley (http://ilee.co.uk/)</author>
<description>Cordova Plugin to automatically start the Cordova app when the device is booted.</description>
<keywords>cordova, boot, launch, startup, homescreen, automatic</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="BootLauncher">
<param name="android-package" value="fr.edps.cordova.bootlauncher.BootLauncher" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="fr.edps.cordova.bootlauncher.BootLauncher">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</config-file>
<source-file src="src/android/BootLauncher.java" target-dir="src/fr/edps/cordova/bootlauncher" />
</platform>
</plugin>