Quick Start
https://github.com/hharnisc/react-native-meteor-websocket-polyfill
UPDATE: A more clean example using the WebSocket polyfill can be found hereIf you're interested in using the React Native bridge this is still a good example
Note this is an experiment, subject to change. Also here's a post breaking down in more detail what was done, and what is needed for a more smooth developer experience
http://hharnisc.github.io/2015/04/15/react-native-and-meteor.html
This works with the Meteor todos
example project.
I'm using Objective-DDP to talk to Meteor (via DDP). The data is passed to the JS runtime with React Native's eventDispatcher
.
https://docs.npmjs.com/getting-started/installing-node
Install NPM Modules$ npm install
https://cocoapods.org/
Install Pods$ pod install