How to use `react-native link` with a existing iOS or Android project path
See original GitHub issueCan I use react-native link
command with a parameter like
react-native link --path "{a_path_to_my_exisiting_ios_or_android_project}"
to link the native code in the node_modules/
to a specific, existing iOS/Android project?
If YES, how to do that and can you document it? If No, can you add this feature?
Using the manual method for existing projects is error-prone and time-consuming.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Integrating React Native with existing Android and iOS native ...
The app starts from a native view (by running the native project from Android Studio or Xcode). The native view has an edit...
Read more >Integration with Existing Apps - React Native
1. Set up directory structure ... To ensure a smooth experience, create a new folder for your integrated React Native project, then copy...
Read more >How to add React Native to an existing iOS app in 2022
Create a new folder for your project. This is where we will keep the React Native code. After creating this folder, copy your...
Read more >Integrating react native in existing iOS & android project ...
1 Answer 1 ... This is very possible. We currently use a similar scenario in production. We have an Android repo A and...
Read more >React Native Tutorial: Integrating in an Existing App
The React Native framework lets you build native apps using React concepts. With React Native, you can build responsive native apps while ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we’re automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
@xareelee you can set a
rnpm
key in yourpackage.json
and define some properties to override defaults.E.g. here we read properties from an object
userConfig
.In order to override location to your
.xcodeproj
, you’d do: