Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to initialise Meteor.connect(connection_string) #345

Open
caffpain opened this issue Aug 30, 2019 · 1 comment
Open

Unable to initialise Meteor.connect(connection_string) #345

caffpain opened this issue Aug 30, 2019 · 1 comment

Comments

@caffpain
Copy link

caffpain commented Aug 30, 2019

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
Copy link

Imran-cse commented Sep 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants