In Mobile how to exit the app using the back button of device with the Confrimation

Hi eveyone 

i need to impemment the one feature where use want to exitt app using the back button with confrmation messgae 

how i can do this in mobile 


Hi Soni, 

Please check this - Thread.

For  confirmation

You can write JS like below at Javascript Node:

var r = confirm("Are you sure!");

if (r == true) {;


Hope this help


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.