Hi.
I am testing every X seconds if there is internet connection in a game of mine.
Event: Every 5 seconds
Sub-event: Browser is not online --> Create Object.
When I am testing this on my phone, using the Remote preview, it works fine. It detects when the internet connection goes on or off.
If I export it for Android and open the app in my phone the event behaves weird:
If I have wi-fi enabled before I open the app, it will remember this action even if I enable/disable de wi-fi after that while the app is open and the other way around.
Is there any other way to check for internet connection in an app?