Skip to content

Isolate Activity Result support in its own Buck target - #58752

Closed
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D121859455
Closed

Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D121859455

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary:
Move Android Activity Result support out of the bridge target's aggregate source list and into a dedicated library. Reuse the bridge's lifecycle interface and inject an ActivityResultRegistryProvider plus an exception callback into the implementation. ReactContext owns registry discovery and lifecycle-listener registration, so the new target's only React bridge dependency is the bridge interfaces target.

Remove the individual source export shims, make the bridge depend on the new target, and give Activity Result tests direct friend access to the implementation target.

Changelog:
[Internal] - Isolate Android Activity Result support in its own build target

Differential Revision: D121859455

Summary:
Move Android Activity Result support out of the bridge target's aggregate source list and into a dedicated library. Reuse the bridge's lifecycle interface and inject an `ActivityResultRegistryProvider` plus an exception callback into the implementation. `ReactContext` owns registry discovery and lifecycle-listener registration, so the new target's only React bridge dependency is the bridge interfaces target.

Remove the individual source export shims, make the bridge depend on the new target, and give Activity Result tests direct friend access to the implementation target.

Changelog:
[Internal] - Isolate Android Activity Result support in its own build target

Differential Revision: D121859455
@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 Sep 29, 2026
@meta-codesync

meta-codesync Bot commented Sep 29, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in 085caf0 Sep 30, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 30, 2026
@meta-codesync

meta-codesync Bot commented Sep 30, 2026

Copy link
Copy Markdown

This pull request has been merged in 085caf0.

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. 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