-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Use main.jsbundle in iOS template for production build #22531
Conversation
Make it semaless, reduce complexity for newcoming Based on https://facebook.github.io/react-native/docs/running-on-device#3-configure-app-to-use-static-bundle
The CLI has been moved to https://github.com/react-native-community/react-native-cli. The |
@hramos thanks for keeping an eye on the CLI-related PRs! We have agreed that the default template located in I guess this can change in the future, but for now, that's where this PR should go. CC: @cpojer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Default HelloWorld template for iOS doesn't make production main.jsbundle. This is little bit confusing in compare with Android building app when everything works one first run. Make it seamless, reduce confuse. Based on docs https://facebook.github.io/react-native/docs/running-on-device#3-configure-app-to-use-static-bundle Fixes #22335 Fixes #18562 Pull Request resolved: #22531 Differential Revision: D13372773 Pulled By: cpojer fbshipit-source-id: 888c675b7d11b1a323445e092ec9ff83924c42f4
Default HelloWorld template for iOS doesn't make production main.jsbundle. This is little bit confusing in compare with Android building app when everything works one first run.
Make it seamless, reduce confuse.
Based on docs https://facebook.github.io/react-native/docs/running-on-device#3-configure-app-to-use-static-bundle
Fixes #22335
Fixes #18562
Test Plan:
CI green
Changelog:
[iOS] [Changed] - Use main.jsbundle in template for production build