Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 499 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 499 Bytes

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 https://github.com/amitsinha559/cordova-plugin-back-as-home.git

add the following code where ever is required

    backAsHome.trigger(function(){
        console.log("Success");
    }, function(){
        console.log("Error");
    });

##Platform

Only for Android