@Joshua and @Rob any plan to document the undocumented “network.getConnectionStatus()” API ?
It would be nice it we would know for sure we can use it without fear of it getting removed in the future.
thanks
@Joshua and @Rob any plan to document the undocumented “network.getConnectionStatus()” API ?
It would be nice it we would know for sure we can use it without fear of it getting removed in the future.
thanks
I just found this post (which is a bit over a year old), but network.getConnectionStatus() is still undocumented.
It’s just what I need, but is it safe to use in production code?
This is a very needed feature! My app just crashes when you try to connect to socket without network. Is this safe to use?
My app just crashes when you try to connect to socket without network.
Exactly!
I’ve put this undocumented feature in my code, and it seems to work well so far, but I’m reluctant to ship until I get some verification that it’s safe to use…
I’ve been using it in production code for a year or so. No problems - that I’m aware of!