-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move registerSegmentWithId: to internal APIs (#37398)
Summary: Pull Request resolved: #37398 Changelog: [Internal] in this diff, i introduce an internal category and header for RCTHost for functionality that needs to be accessible for our purposes, but not an official part of our stable API. after this change, we can remove `ReactInstanceForwarding`. Reviewed By: cipolleschi Differential Revision: D45760091 fbshipit-source-id: 88a82fc70a20934f5d8989041c3eb2ffe2d27b20
- Loading branch information
1 parent
0ccc98d
commit 2668f50
Showing
5 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
packages/react-native/ReactCommon/react/bridgeless/platform/ios/Core/RCTHost+Internal.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* 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 "RCTHost.h" | ||
|
||
@interface RCTHost (Internal) | ||
|
||
- (void)registerSegmentWithId:(NSNumber *)segmentId path:(NSString *)path; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters