mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
086c13dd5f
Summary: Problem - Error when trying to publish to Apple Store in debug scheme Error thread - https://github.com/facebook/react-native/issues/31507 ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [General][Removed] - The diffs renames the required variable which was causing conflicts in names with Apple core SDK's Pull Request resolved: https://github.com/facebook/react-native/pull/33153 Reviewed By: lunaleaps Differential Revision: D34392529 Pulled By: sshic fbshipit-source-id: 78387999f94e0db71f5d3dafff51e58d7d0c1847
46 lines
1.1 KiB
Objective-C
46 lines
1.1 KiB
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTDefines.h>
|
|
|
|
#if RCT_DEV // Only supported in dev mode
|
|
|
|
@class RCTPackagerClientResponder;
|
|
@class RCTReconnectingWebSocket;
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern const int RCT_PACKAGER_CLIENT_PROTOCOL_VERSION;
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
@protocol RCTPackagerClientMethod <NSObject>
|
|
|
|
- (void)handleRequest:(NSDictionary<NSString *, id> *)params withResponder:(RCTPackagerClientResponder *)responder;
|
|
- (void)handlePackageNotification:(NSDictionary<NSString *, id> *)params;
|
|
|
|
@optional
|
|
|
|
/** By default object will receive its methods on the main queue, unless this method is overridden. */
|
|
- (dispatch_queue_t)methodQueue;
|
|
|
|
@end
|
|
|
|
@interface RCTPackagerClientResponder : NSObject
|
|
|
|
- (instancetype)initWithId:(id)msgId socket:(RCTReconnectingWebSocket *)socket;
|
|
- (void)respondWithResult:(id)result;
|
|
- (void)respondWithError:(id)error;
|
|
|
|
@end
|
|
|
|
#endif
|