Happy 2020 everyone! I have a question on how an app is supposed to behave.
I have written an app that uses sockets to send mqtt messages to a broker which includes all the phone sensors. It seems to work great. I am in early testing phase. The app stops sending events when the phone screen dims. So the user has to keep touching the screen to keep the events flowing.
Qs:
1. Is this how it is supposed to work? Is there a way to turn that behavior off?
2. If 1. == true then Is there a trick to keeping the screen from dimming?
There may be some ways to get the app to keep playing music (or remain active) even when suspended, but that’d require Corona Native and I’m not sure if it’d be possible even with that.