简体   繁体   中英

Prevent Android Ionic App from Reloading on Resume

I have an ionic app running on android that reloads everytime I put the app into the background and resume it? The reload is causing issues with some bluetooth devices I'm interacting with.

I know I can listen for the resume here, but not quite sure what I need to put in there to prevent the reload.

$ionicPlatform.on('resume', function(){
...
})

What can I do to prevent app reload on resume?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM