Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
react-native bundle configs #14400
This is a react-native bundle and react-native packager issue.
Currently there is no way of modifying the configurations passed to
Reproduction Steps and Sample Code
Configs for bundling in an iOS build are essentially hardcoded in
Configs for Android are slightly easier to change if necessary, as
and via Fastlane:
or directly in gradle:
An example use case for this is internal alpha builds - where other developers or QA need a development build for debug access, not signed for release/appstore, and cannot be dependent upon a development server running. Hockeyapp is frequently used for this - distribution of these kinds of builds internally.
For beta builds that are a bit more open, the current configurations work fine and as intended for Testflight and Playstore beta.
There are a few possible solutions here, and I would be willing to make a PR for both better documentation and a new process, but would like input on what that process should be. This is clearly an issue, and I would like to see either how others have worked around it or solved it in the recent updates.
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.
I also just ran into this issue. I got symlinks working with the metro client, by passing in a custom config as suggested in facebook/metro#1. But the bundler doesn't pick up the config file. The only current solution is to edit the
In Xcode you can assign an environment variable in the build phase
In Android you just have to include