From 7503dbd7849dddbc235b42eb75be0f446bd9cf62 Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Mon, 23 Oct 2023 14:27:20 -0700 Subject: [PATCH] remove unused methodQueue from RCTHTTPRequestHandler (#41136) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41136 Changelog: [iOS][Breaking] You cannot call methodQueue on RCTHTTPRequestHandler the `synthesize methodQueue` API is confusing, it looks like an API only for use within native module implementation, but it's actually needed to create a selector that corresponds to the property declared in the `RCTBridgeModule` public protocol. no one is using the `methodQueue` on `RCTHTTPRequestHandler`, so let's get rid of the public access to it. Reviewed By: javache, cipolleschi Differential Revision: D50525900 fbshipit-source-id: f83738491d0eadc71a6dc3194ee16fe7c8748263 --- packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm b/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm index b7b2db1e57e398..8f21bf3e284682 100644 --- a/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm +++ b/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm @@ -32,7 +32,6 @@ @implementation RCTHTTPRequestHandler { } @synthesize moduleRegistry = _moduleRegistry; -@synthesize methodQueue = _methodQueue; RCT_EXPORT_MODULE()