1.0.1 • Published 6 years ago
cordova-plugin-back-as-home v1.0.1
Cordova Plugin - Back As Home
With this plugin you can trigger home button functionality by pressing back button. Means you can minimize the app by pressing back button
Using
Add Plugin
$ cordova plugin add cordova-plugin-back-as-home
add the following code where ever is required
backAsHome.trigger(
function() {
console.log('Success');
},
function() {
console.log('Error');
}
);
Platform
Only for Android