From 9ce65450d43e394fa84a9864092dcbdaf81307f3 Mon Sep 17 00:00:00 2001 From: Nathaniel Dsouza Date: Thu, 21 May 2020 14:06:45 -0400 Subject: [PATCH] Append "/websocket" to meteor app URL (since some environments require it) --- content/react-native.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/react-native.md b/content/react-native.md index 94a9ed9b..b3b9a9bc 100644 --- a/content/react-native.md +++ b/content/react-native.md @@ -55,9 +55,12 @@ import Meteor, { Mongo, withTracker } from 'meteor-react-native'; Next, you need to connect to your Meteor server. This should typically be at the start of your App.jsx. ```` -Meteor.connect("wss://myapp.meteor.com"); +Meteor.connect("wss://myapp.meteor.com/websocket"); ```` +**Note: If you are using Expo, please see [these instructions](https://github.com/TheRealNate/meteor-react-native#custom-storage-adapter) for an extra step when connecting to your Meteor server** + + Define your collections: ````