You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a2ed196
Browse filesBrowse the repository at this point in the historyBrowse files
Make TurboModule host integration headers for-frameworks (#58955)
Summary:
Pull Request resolved: #58955
Move the following `react/nativemodule/core` headers from the public tier to the for-frameworks tier:
- `TurboModuleBinding.h` - not called by native module authors,
- `JavaInteropTurboModule.h` (Android) and `RCTInteropTurboModule.h` (iOS) - legacy
The C++ API snapshots are regenerated: these symbols are removed from the Debug, Release and Newarch snapshots and stay in the Frameworks snapshots.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D124104733
Copy file name to clipboardExpand all lines: packages/react-native/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaInteropTurboModule.h
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,17 @@
7
7
8
8
#pragma once
9
9
10
-
#include<react/cxxstableapi/UmbrellaGuard.h>
10
+
#include<react/cxxstableapi/FrameworksGuard.h>
11
11
12
12
#ifndef RCT_REMOVE_LEGACY_MODULE_INTEROP
13
13
14
14
#include<string>
15
15
#include<vector>
16
16
17
-
#include<ReactCommon/TurboModule.h>
17
+
#include<React/NativeModuleCore.h>
18
18
#include<fbjni/fbjni.h>
19
19
#include<jsi/jsi.h>
20
20
21
-
#include"JavaTurboModule.h"
22
-
23
21
namespacefacebook::react {
24
22
25
23
classJSI_EXPORT JavaInteropTurboModule : public JavaTurboModule {
Copy file name to clipboardExpand all lines: packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h
Copy file name to clipboardExpand all lines: packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModuleManager.mm
0 commit comments