UNPKG

@zestia/cordova-plugin-back-button

Version:

Cordova plugin to handle closing the app on Android using the back button.

23 lines (18 loc) 770 B
<?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="zestia-cordova-plugin-back-button" version="3.1.1"> <name>Back Button</name> <platform name="android"> <config-file target="res/xml/config.xml" parent="/*"> <feature name="BackButton" > <param name="android-package" value="com.zestia.mobile.backbutton.BackButtonPlugin" /> </feature> </config-file> <js-module src="www/back-button.js" name="BackButton"> <clobbers target="window.BackButton" /> </js-module> <source-file src="src/android/BackButtonPlugin.java" target-dir="src/com/zestia/mobile/backbutton" /> </platform> </plugin>