Skip to content

[Issue] Error E_UNZIP_FAIL on iOS #111

@dougsouzaoli

Description

@dougsouzaoli

Describe the bug
The OTA update fails to unzip the bundle on iOS when the bundle is packaged inside a folder (e.g., bundle_). The same structure works on Android. On iOS, it throws an E_UNZIP_FAIL error during bundle extraction.

To Reproduce
Steps to reproduce the behavior:
1. Generate an OTA update zip file using react-native bundle, placing index.ios.bundle and assets/ inside a subfolder (e.g., bundle_1725616691/)
2. Upload the zip to S3 and update the index file accordingly
3. Call the update from the app using the checkUpdate and downloadUpdate flow
4. Restart the app
5. Observe the error in the iOS logs

Expected behavior
The iOS app should correctly extract the zip file and load the new bundle, just like it works on Android, even when the files are inside a folder.

Screenshots
If applicable, add screenshots to help explain your problem.

Version (please complete the following information):

  • React native version: 0.76.7
  • RN hot update version: 2.3.0

Please clarify whether the folder structure is supported on iOS or if only root-level files are expected.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions