In ionic 1. When the app is put into the background, I’d like to prevent a refresh/reload of the app on resume
I’ve seen that I can listen for resume with the code below, but not sure how to prevent the default functionality of refreshing the app when it resumes.
This functionality is currently messing up the state of my app and/bluetooth connections I’m making. Forcing me to restart bluetooth and the app in some cases to get back to normal.
How might prevent a refresh on resume?