Skip to content

Fix for resources not correctly bundlded on release appbundles - #35872

Closed
cortinico wants to merge 1 commit into
react:mainfrom
cortinico:export-D42573450
Closed

Fix for resources not correctly bundlded on release appbundles#35872
cortinico wants to merge 1 commit into
react:mainfrom
cortinico:export-D42573450

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:
When downgrading from AGP 7.4 to 7.3 we were forced to resort to older APIs
to bundle resources. It seems like we haven't properly wired the task to make sure
resources generated by Metro are correctly accounted before the generation of
release app bundles/apks.

This fixes it. This fix can also be removed once we are on AGP 7.4
Fixes#35865

Changelog:
[Android] [Fixed] - Fix for resources not correctly bundlded on release appbundles

Differential Revision: D42573450

Summary:
When downgrading from AGP 7.4 to 7.3 we were forced to resort to older APIs
to bundle resources. It seems like we haven't properly wired the task to make sure
resources generated by Metro are correctly accounted before the generation of
release app bundles/apks.
This fixes it. This fix can also be removed once we are on AGP 7.4
Fixesreact#35865
Changelog:
[Android] [Fixed] - Fix for resources not correctly bundlded on release appbundles
Differential Revision: D42573450
fbshipit-source-id: f3f3ed228788e9c406e066b63e70f20fd0f4daeb
@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jan 18, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D42573450

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a8,465,457+0
androidhermesarmeabi-v7a7,786,070+0
androidhermesx868,939,008+0
androidhermesx86_648,796,978+0
androidjscarm64-v8a9,650,654+0
androidjscarmeabi-v7a8,385,129+0
androidjscx869,712,847+0
androidjscx86_6410,190,031+0

Base commit: 473eb1d
Branch: main

@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Jan 18, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 60b9d8c.

kelset pushed a commit that referenced this pull request Jan 19, 2023
Summary:
Pull Request resolved: #35872
When downgrading from AGP 7.4 to 7.3 we were forced to resort to older APIs
to bundle resources. It seems like we haven't properly wired the task to make sure
resources generated by Metro are correctly accounted before the generation of
release app bundles/apks.
This fixes it. This fix can also be removed once we are on AGP 7.4
Fixes#35865
Changelog:
[Android] [Fixed] - Fix for resources not correctly bundlded on release appbundles
Reviewed By: cipolleschi
Differential Revision: D42573450
fbshipit-source-id: a810924315f72e02e4c988ae86112bf0a06a9ce5
@cipolleschicipolleschi mentioned this pull request Oct 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BugCLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartnerPlatform: AndroidAndroid applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[0.71.0] Android release AAB static asset (image, video, not js bundle) missing

5 participants

@cortinico@facebook-github-bot@analysis-bot@kelset@react-native-bot