I am trying to determine if my app has an internet connection? It seems like Networking.isOnline is always returning true even though i have airplane mode on on my computer or phone. I have a mode that I allow a user to take the data offline when they know they won't have internet or cell service.
I don't want the app to be able to then come back ONLINE when there is no Network Connection or internet when coming back online
console.log("------- Networking.isOnline: ", Networking.isOnline)
When my app comes back from an offline mode, it has to have internet connection to sync all the data
But is seems like Networking.isOnline is always true?