1
votes

What I need to do is to disable the hardware buttons of Android (using Ionic 3), in order to prevent the app to close, or go back to Android main page, or exit the app in any ways.

I want to disable the back, the home, the right button and if it is possible the button which closes the device. Is it possible?

First of all I can't find the official documentation of Ionic "Platform" with its options and secondly I want to achieve the above.

Any help or instructions, it will be appreciated.

1
I really hope it's not possible. What use case is there for this? - DBnR
Is for a registration form (a device for the public in a store). I don't want the people close the application or go to android menu in any ways. - Vasilis Greece
Makes sense. Should be doable with Cordova kiosk mode plugin. - DBnR
Let me check it and if it is working, I will take your answer as correct! - Vasilis Greece

1 Answers