Skip to content

Fix BlobProvider not working in newarch (#56369)#56369

Closed
javache wants to merge 2 commits intofacebook:mainfrom
javache:export-D99836114
Closed

Fix BlobProvider not working in newarch (#56369)#56369
javache wants to merge 2 commits intofacebook:mainfrom
javache:export-D99836114

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented Apr 8, 2026

Summary:

Blob images in RNTester work

Changelog: [Android][Fixed] Blob content provider did not work in new arch

Reviewed By: alanleedev

Differential Revision: D99836114

@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 Apr 8, 2026
@facebook-github-tools facebook-github-tools bot added p: Facebook Partner: Facebook Partner labels Apr 8, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 8, 2026

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D99836114.

javache added 2 commits April 8, 2026 05:26
…acebook#56272)

Summary:

BlobCollector::nativeInstall received a raw jlong pointer to jsi::Runtime from Java and cast it directly, with no thread safety. Migrated BlobModule to implement TurboModuleWithJSIBindings, which provides a safe getBindingsInstaller() callback guaranteed to run on the JS thread during module initialization. Removed the unsafe raw pointer path.

Changelog: [Internal]

Reviewed By: alanleedev

Differential Revision: D98712509
Summary:

Blob images in RNTester work

Changelog: [Android][Fixed] Blob content provider did not work in new arch

Reviewed By: alanleedev

Differential Revision: D99836114
@javache javache force-pushed the export-D99836114 branch from c73603c to c1a18cf Compare April 8, 2026 12:27
@meta-codesync meta-codesync bot changed the title Fix BlobProvider not working in newarch Fix BlobProvider not working in newarch (#56369) Apr 8, 2026
@meta-codesync meta-codesync bot closed this in 05ea94c Apr 9, 2026
@facebook-github-tools facebook-github-tools bot added the Merged This PR has been merged. label Apr 9, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 9, 2026

This pull request has been merged in 05ea94c.

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. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant