react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Load custom RCTURLRequestHandler dynamically.

Open cipolleschi opened this issue 2 years ago • 2 comments

Summary: Libraries can declare their own objects and modules that can conform to RCTURLRequestHandler. The new architecture has no mechanism to load those custom classes.

This change is a proposal on how this can be achieved in a declarative way, by leveraging codegen.

If users want to opt-out from codegen, they can update the RCTURLRequestHandlerProvider.mm manually.

Changelog:

[iOS][Added] - Offer mechanism to link custom RCTURLHandler when the app starts

Differential Revision: D53312017

cipolleschi avatar Feb 08 '24 14:02 cipolleschi

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

facebook-github-bot avatar Feb 08 '24 14:02 facebook-github-bot

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

facebook-github-bot avatar Feb 08 '24 14:02 facebook-github-bot