Recognising whether a device is connected to a network

Hi all,

There are some features in my app that work only with a working wifi/data connection. Therefore, I’d like an error message to display for these features if the device isn’t connected to a network - is there any way in Thunkable to check whether a device is connected to a network or not? Some kind of sensor perhaps - or would this be a feature that could potentially be added in a new release?

Thanks,
Ayush

best way is to use the

And check if there is an error. You can try to go to google.com and then if the result is not 200 you are not connected (or there is another network problem)

1 Like

@AyushS You can use the"is device online?" block in device tab.

2 Likes