How can I block the physical phone buttons?

Hi,

I would like a help to know how do I block all physical cell phone buttons.

I already use $ionicPlatform.registerBackButtonAction, however I necessary that the home button and android button menu (Ex: Galaxy S5) are also blocked.

I found nothing on the Internet.

I appreciate the help and sorry about my english.

I’m not sure this is even possible to block the user from leaving your app, so it dont think that this have been implemented, but I could be wrong

In fact, I need execute geolocalization in background mode. Don’t have problem for me if this is not possible to make.