Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to modify existing RN project to use single index.js entry point (both iOS and Android) #16517
Is this a bug report?
Have you read the Contributing Guidelines?
Packages: (wanted => installed)
Steps to Reproduce
(Write your steps here:)
My expectation was that RN 0.49.* would know to use index.js as the entry point, but the packager and output suggested that it was still trying to use the old entry points (i.e. index.android.js).
The packager showed this output, suggesting that it was using old entry points:
Screenshots (Android and iOS, respectively):
I'm pretty sure this could've been done prior to the defaulting to only 1
For Android, go to your
For iOS, go to your
Depending on how old your project is, you might have a Build Phases Script that looks like this:
In that case, you can remove the argument
These changes were tested with a new RN 47.2 project that I upgraded to RN 49.3 with a single
Hope that helps!
edit1: left out another android fix
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.