https://github.com/duytq94/demo-integrate-react-native
Demo integrate React Native with existing Android and iOS native projects
https://github.com/duytq94/demo-integrate-react-native
integration native react-native
Last synced: about 1 year ago
JSON representation
Demo integrate React Native with existing Android and iOS native projects
- Host: GitHub
- URL: https://github.com/duytq94/demo-integrate-react-native
- Owner: duytq94
- Created: 2020-03-12T10:10:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T09:49:29.000Z (over 3 years ago)
- Last Synced: 2025-04-18T12:19:02.955Z (about 1 year ago)
- Topics: integration, native, react-native
- Language: JavaScript
- Homepage:
- Size: 2.28 MB
- Stars: 49
- Watchers: 3
- Forks: 24
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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