Demo app showing how to integrate React Native into RubyMotion. This is a simple proof of concept repository. It also contains an xCode version and an Android version of the same project so you can compare implementation differences.
- Install RubyMotion
- Install React Native: https://facebook.github.io/react-native/docs/getting-started.html
- Install node:
brew install node
- Install watchman:
brew install watchman
- Optional: Install React Native CLI:
npm install -g react-native-cli
- Install bundler:
gem install bundler
- Install gems (motion-cocoapods):
bundle
- Initialize cocoapods:
pod setup
- Install cocoapods:
rake pod:install
- Run React Native server from the base directory (run this in a separate terminal tab):
npm start
- cd into motion_ios and build your app:
rake
orrake device