I am currently developing a hybrid app with monaca.
I want to stop going back to the platform when the home button of the terminal is pressed.
I don't want to close the app, I want to leave it as it is.
Currently document.addEventListener('pause', function(e){,
I was able to have him take some action when the home button was pressed in , but returning to the home screen remains the same.Please tell me how to prevent me from going to the home screen.
* We support both Android and IOS.
javascript monaca cordova
If you can't go back to the home screen when you press the home button, the application that the terminal runs will be fixed and you won't be able to switch to other applications, and the application will take over the OS.
© 2024 OneMinuteCode. All rights reserved.