inProgress-team / react-native-meteor

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

Unable to initialise Meteor.connect(connection_string) #345

Open caffpain opened 5 years ago

caffpain commented 5 years ago

returns Cannot read property 'isConnected' of undefined

Screen Shot 2019-08-31 at 1 31 58 AM

"react": "16.8.6", "react-native": "0.60.5", "react-native-meteor": "^1.4.0"

Imran-cse commented 4 years ago

React Native has moved NetInfo from core to community. But this package import it from core react-native, that causes the problem. To solve this import NetInfo from @react-native-community/netinfo in Meteor.js file of this package.