forked from huangang/cordova-plugin-restartapp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
22 lines (20 loc) · 1013 Bytes
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-android-restart" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-android-restart</name>
<js-module name="restartApp" src="www/cordova-plugin-android-restart.js">
<clobbers target="navigator.app.restartApp"/>
</js-module>
<!-- android -->
<platform name="android">
<edit-config file="AndroidManifest.xml" target="/manifest/application/" mode="merge">
<application android:usesCleartextTraffic="true"/>
</edit-config>
<config-file target="config.xml" parent="/*">
<feature name="RestartApp">
<param name="android-package" value="org.apache.cordova.restartapp.RestartApp"/>
</feature>
</config-file>
<source-file src="src/android/RestartApp.java" target-dir="src/org/apache/cordova/restartapp"/>
</platform>
</plugin>