Questions tagged [react-native-meteor]
8 questions
3
votes
1 answer
How do I handle react-native-meteor DDP connection failure?
In this example you connect to Meteor with code like this
Meteor.connect('ws://192.168.X.X:3000/websocket');//do this only once
This is an asynchronous method and, as result, it returns nothing and it also doesn't accept a callback and…

humkins
- 9,635
- 11
- 57
- 75
2
votes
0 answers
Meteor.js loginWithGoogle() isn't working while using with React Native
I'm working on the ReactNative app, and there is need for Google OAuth SignIn using Meteor. While the login configuration works on Meteor side, it's not recognized as function when called from RN App.
Code I've written is as follows:
import React,…

Pa-won
- 165
- 1
- 2
- 10
1
vote
2 answers
Meteor.connect throwing error in React Native (Version 0.61.5)
I'm using react-native-meteor module in react-native-app to connect it to Meteor server.
On Calling the following function in App.js ,
Meteor.connect('ws://192.168.x.x:3000/websocket');
I was getting this error
Invariant Violation: NetInfo has…

ImFarhad
- 2,669
- 2
- 18
- 30
1
vote
1 answer
Can't connect to web socket react-native-meteor iOS
I'm using react-native-meteor, and am having trouble connecting to the web socket with iOS only. My application works just fine when running on the android simulator, but just doesn't work in iOS simulator or device. This is my…

user3413723
- 11,147
- 6
- 55
- 64
0
votes
1 answer
Retrieving data from Meteor server
I am trying a hello world app using react-native, Meteor and xvonabur/ react-native-meteor.
I am trying to subscribe to the data from MongoDB.
server code :
import {Mongo} from 'meteor/mongo';
import {Meteor} from 'meteor/meteor';
export…

dennypanther
- 53
- 1
- 10
0
votes
1 answer
React Native Router Flux and React Native Meteor inital Scene rendering Issue
Hi i need Help i have created an index page which checks if user is logged in or not and redirect accordingly
and data is pass to that component via createContainer
everything was working fine but now after logging in
i have open Router Page and…

Shivam Arora
- 16
- 1
- 4
0
votes
1 answer
Subscription Data Arrives Very Late Meteor - React Native Meteor
After publishing data and subscribing from react native client,it takes about a minute to make subscribtion ready.If i update collection it takes again about a minute to get data and fire componentWillReceiveProps(newProps) method.Collection has…

l0veisreal
- 179
- 5
- 20
0
votes
1 answer
react-native-meteor Meteor.collection('xxx').findOne() return undefined, how to make a callback
When I'm trying to get data I got undefined, but in one second after recalling the method again I get what I want. How I understand, I just wait for a response and when I try to return an object, I have nothing because it is on his way to me.…
user7907194