All Projects → duytq94 → demo-integrate-react-native

duytq94 / demo-integrate-react-native

Licence: other
Demo integrate React Native with existing Android and iOS native projects

Programming Languages

javascript
184084 projects - #8 most used programming language
swift
15916 projects
kotlin
9241 projects
java
68154 projects - #9 most used programming language
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Demo Integrate React Native

Description

Integrating react native with existing Android and iOS native projects.

How to run

  • Clone this repository.
  • At root directory run npm install to install the dependencies.
Android
  • Open folder android by Android Studio and run the project as normal.
iOS
  • At root directory cd ios/ && pod install
  • Go to ios folder and double click DemoIntegrateRN.xcworkspace to run the project.
Run the packager
  • To run react native part, you need to first start the development server. To do this, run the following command in the root directory npm start
  • From the native app and clicking the button to navigate to react native part, it should load the JavaScript code from the development server and display react native screens.

Article

https://medium.com/@duytq94/integrating-react-native-with-existing-android-and-ios-native-projects-175cc9517c1

Demo

https://youtu.be/p7yPbCJi8s8

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].