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?
看起来你需要一个Cordova插件来阻止应用程序在后台进入睡眠状态 。
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.