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.
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?