A demo/starterpack for integrating your existing iOS app with React Native. Includes communication between native/js and airbnb's native-navigation. Includes native listeners,events, callbacks, and communication across RCTbridge. NOTE: Some parts of the demo can only be seen in your console. So make sure you check your console after each interaction
-
cd js/
-
npm install
-
npm start
-
In a new tab go back up a directory
-
Open ReactNativeIntegrationDemo.xcworkspace
-
Click Run
-
Calling native functions from JS
-
Sharing data between native and JS
-
Creating listeners in JS to native events and vice-versa
-
Sending native callbacks to JS
-
Native look and feel from Airbnb native-navigation library
- React Native (version 0.42.0)
- React (version 15.4.1)
- native-navigation (version ^0.1.0)
- murmur2js (version ^1.0.0)
- npm (version 4.0.5)
- Xcode 8