inProgress-team / react-native-meteor

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

NetInfo is no longer part of react native #361

Open alexanderwanyoike opened 4 years ago

alexanderwanyoike commented 4 years ago

Hello Just noticed that NetInfo class package is no longer being supported by react native and has moved to https://github.com/react-native-community/react-native-netinfo

Also the NetInfo.isConnected is no longer supported and NetInfo.addListener should be used.

gevinduM commented 4 years ago

@alexanderwanyoike will you be able to post the solution I tried to change Meteor.js file. But it didn't work for me.

joaopiopedreira commented 4 years ago

Hi @gevinduM, the solution is in xvonabur/react-native-meteor. You can take a look here.

gevinduM commented 4 years ago

@joaopiopedreira Thank you very much!

nikhilgoswami commented 4 years ago

https://github.com/inProgress-team/react-native-meteor/pull/363 this is latest solution add this pull request