What event can I use to know when the user is back on the app?
Here is a sample scenario:
- User opens the app.
- Then user sleeps and phone sleeps too. Take note that the user didn’t close the app because he just left the phone on sleep.
- Next day user opens the phone and the app.
- App loads on the same screen where the user left. The problem here is that the Screen.Opens doesn’t get triggered so I do not know if the user is back.
I would like to be able to trigger an event or code when the user is back on the app from sleep without the user closing and opening the app.
Any ideas how to do this?
I thought about using a forever loop but it might affect performance. Does forever loop continue run even when the user is not on the app?