Clean up RCTBridgeDelegate to remove shouldBridgeUseCustomJSC method (#48948)

Summary:
`shouldBridgeUseCustomJSC` comes from https://github.com/zhongwuzw/react-native/commit/cb3e575deb8a2be972298b12761ed9ee8f0ae63d, seems it's not working anymore. So we can clean up it .

## Changelog:

[IOS] [REMOVED] - Clean up RCTBridgeDelegate to remove shouldBridgeUseCustomJSC method

Pull Request resolved: https://github.com/facebook/react-native/pull/48948

Test Plan: Everything should works.

Reviewed By: christophpurrer

Differential Revision: D68728588

Pulled By: javache

fbshipit-source-id: 8a762b5f3d6272fa7be57e0b17cb655eba743b5d
This commit is contained in:
zhongwuzw
2025-01-28 04:37:37 -08:00
committed by Facebook GitHub Bot
parent e8eae9448f
commit c8f1506f13
2 changed files with 1 additions and 10 deletions
@@ -40,15 +40,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge;
/**
* Configure whether the JSCExecutor created should use the system JSC API or
* alternative hooks provided. When returning YES from this method, you must have
* previously called facebook::react::setCustomJSCWrapper.
*
* @experimental
*/
- (BOOL)shouldBridgeUseCustomJSC:(RCTBridge *)bridge;
/**
* The bridge will call this method when a module been called from JS
* cannot be found among registered modules.
@@ -42,7 +42,7 @@ class RuntimeScheduler_Modern final : public RuntimeSchedulerBase {
* Alias for scheduleTask with immediate priority.
*
* To be removed when we finish testing this implementation.
* All callers should use scheduleTask with the right priority afte that.
* All callers should use scheduleTask with the right priority after that.
*/
void scheduleWork(RawCallback&& callback) noexcept override;