Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Started: Android Integration with existing apps is inaccurate and outdated! #2118

Closed
Monte9 opened this issue Aug 2, 2020 · 5 comments
Labels
Stale Issues/PR that are not getting much activity and are closer to be closed 📼 Outdated Docs Documentation is there, but outdated or wrong.

Comments

@Monte9
Copy link

Monte9 commented Aug 2, 2020

Description

The current docs for integration with Android app are inaccurate and outdated: https://reactnative.dev/docs/integration-with-existing-apps

I ran into this as I was trying to set up a brand new Android app with React Native and was mislead by the official docs and couldn't get the integration to work on the latest React Native version (v0.63).

When I googled a bit I found a Medium article by Danial which walks through the latest changes needed for Android: https://levelup.gitconnected.com/how-to-integrate-an-existing-android-app-with-react-native-6403ac4724f3

I was able to get the setup to work and so I think we need to make the effort to update the official docs so other developers don't run into the same roadblock.

Updates needed

Configuration

Here are the configuration changes needed for react-native: 0.60+

Usage

Here are the usage changes needed for react-native: 0.60+

Next Steps

Most of the changes outlined above such as using ReactApplication, ReactNativeHost, and ReactActivity have already been implemented in the official RNTester application. So we know it works and more importantly, that it's the right way to set up React Native in an Android app.

If these changes are welcome, I can go ahead and submit a PR to update the docs with the above-outlined changes. 🙂

Documentation version

Current (outdated) documentation for integration React Native in Android: https://github.com/facebook/react-native-website/blob/master/docs/integration-with-existing-apps.md

@gedeagas
Copy link
Contributor

gedeagas commented Aug 4, 2020

+1 the docs on integration need an urgent update.

@Simek Simek added the 📼 Outdated Docs Documentation is there, but outdated or wrong. label Aug 13, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

👋 Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale Issues/PR that are not getting much activity and are closer to be closed label Dec 25, 2020
@Monte9
Copy link
Author

Monte9 commented Jan 8, 2021

Yes, it still needs to be updated! @Simek thoughts?

@stale stale bot removed the Stale Issues/PR that are not getting much activity and are closer to be closed label Jan 8, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

👋 Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale Issues/PR that are not getting much activity and are closer to be closed label Jan 9, 2022
@github-actions
Copy link

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Issues/PR that are not getting much activity and are closer to be closed 📼 Outdated Docs Documentation is there, but outdated or wrong.
Projects
None yet
Development

No branches or pull requests

3 participants