inProgress-team / react-native-meteor

Meteor Reactivity for your React Native application :)
MIT License
693 stars 210 forks source link

Check connection status programatically? #228

Closed turbobuilt closed 7 years ago

turbobuilt commented 7 years ago

I would like to notify the user if for some reason the app can't connect to the server. Is there a method I can call to check connection status?

Taakn commented 7 years ago

Meteor.status().connected()

charpeni commented 7 years ago

Meteor.status().connected, connected is a boolean not a function.