Disable back in smartphone

How can I turn off the possibility of going back to the previous page using the buttons on smartphone? I would like to be able to go back to the previous page only through the buttons in the application.

If you’re using framework7 and haven’t implement functionality for back button. Back button will not get back to previous pages. In android, back button when not implemented gets you out of application.

1 Like