Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make setJSEngineResolutionAlgorithm a public method (#36715)
Summary: `setJSEngineResolutionAlgorithm` is marked as private while it looks like it was intended to be public. While the current implementation does not cause any issues as such, but in brownfield we will have the option to explicitly set the JS engine to hermes or jsc when initialising the ReactInstanceBuilder. Right now, we look if the engine is set and if unset we look for the jsc engine. If jsc is not present we select hermes and this process unnecessary throws a warning. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [ANDROID][FIXED] - Changed the scope of `setJSEngineResolutionAlgorithm` to public from private. Brownfield apps should be able to setup the JSResolutionAlgorithm before hand. Pull Request resolved: #36715 Reviewed By: cortinico Differential Revision: D44535444 Pulled By: javache fbshipit-source-id: ae91e50de10c993c80ed4bba6f2fece64af178c4
- Loading branch information