I have a problem with admob. I want my admob to go out when I'm online. when offline admob may not log out.
I already use a browser plugin with event:
"Browser-is online-load function (load reward video)"
"Browser-❌is online- doesn't do anything"
The above event works well when opened in chrome and Nw.js. (BUT) when I export in the form of an APK and I run it on my android, the above event doesn't work at all.
And the problem is that my apk is already in Playstore 😣.
Do any of you have a solution?
Develop games in your browser. Powerful, performant & highly capable.
There's no point checking if you're online. The detection for that is quite subtle and complicated, it's not actually a boolean state. Just go ahead and attempt to load things, and if you're offline they will fail, so handle the error events.
— Asley.. Are you have sample about that? like Capx or etc
Just delete any references to "Is online". There's no point checking that.