Cordova Back Button - Cordova

What is Cordova Back Button?

Handling Back Button

You will usually want to use Android back button for some app functionality like returning to previous screen. To be able to implement your own functionality, you first need to disable exiting the app when the back button is pressed.

Now when we press the native Android back button, the alert will appear on screen instead of exiting the app. This is done by using e.preventDefault().

Cordova - Back Button

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Cordova Topics