Skip to content

refactor(iOS): persist bundle as local file on par with Android - #57751

Draft
tjzel wants to merge 3 commits into
react:mainfrom
tjzel:@tjzel/ios-persist-bundle
Draft

refactor(iOS): persist bundle as local file on par with Android#57751
tjzel wants to merge 3 commits into
react:mainfrom
tjzel:@tjzel/ios-persist-bundle

Conversation

@tjzel

@tjzel tjzel commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary:

On Android, in development, the JS bundle is downloaded and saved as a file - this is done to avoid passing it through JNI, but iOS could use similar approach for uniform behavior.

This allows libraries to be able to obtain the bundle from the file without re-downloading it from Metro.

It would impact iOS boot slightly, but only in development, so it should be negligible.

Changelog:

[IOS] [CHANGED] - make iOS preserve dev bundle as a temp file on par with Android implementation

Test Plan:

rn-tester iOS dev works with this change

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 29, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant