inProgress-team / react-native-meteor

Meteor Reactivity for your React Native application :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to initialise Meteor.connect(connection_string)

caffpain opened this issue · comments

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"

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.