Skip to content

Commit

Permalink
Generate the RCTModulesConformingToProtocolsProvider only for react-n…
Browse files Browse the repository at this point in the history
…ative core (#43046)

Summary:

This fixes a problem where RCTModulesConformingToProtocolsProvider was generated also in Library space.

## Changelog:
[iOS][Fixed] - Generate the RCTModulesConformingToProtocolsProvider only once in user space

## Facebook
See comment [here](https://www.internalfb.com/diff/D53441411?dst_version_fbid=750944970297544&transaction_fbid=719673583317629)

Reviewed By: dmytrorykun

Differential Revision: D53807045
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Feb 15, 2024
1 parent 59d46e8 commit c689553
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,9 @@ function execute(projectRoot, targetPlatform, baseOutputPath) {
);

createComponentProvider(schemas, supportedApplePlatforms);
generateCustomURLHandlers(libraries, outputPath);
}

generateCustomURLHandlers(libraries, outputPath);
cleanupEmptyFilesAndFolders(outputPath);
}
} catch (err) {
Expand Down

0 comments on commit c689553

Please sign in to comment.