[SOLVED]Make game work only when wifi or mobile data are turned on?


Is there a way to make a android game not run if the wifi or mobile data is turned off?
Come to think of it that it’s kind of pointless trying to earn a few bucks on ads if the game still runs when the one playing the game has turned off wifi or mobile data :slight_smile:
Anyone knows how I could achieve this?

Maybe this extension can help.

From this, check if the wifi is there and if yes then play, if no, show popup

Internet connectivity extension, did the trick.
Thanks for helping out!