File tree Expand file tree Collapse file tree 2 files changed +36
-37
lines changed
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridgeless Expand file tree Collapse file tree 2 files changed +36
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ package com.facebook.react.bridgeless
9
+
10
+ import android.content.Context
11
+ import com.facebook.infer.annotation.ThreadSafe
12
+ import com.facebook.react.ReactPackage
13
+ import com.facebook.react.bridge.JSBundleLoader
14
+ import com.facebook.react.bridge.ReactApplicationContext
15
+ import com.facebook.react.fabric.ReactNativeConfig
16
+ import com.facebook.react.turbomodule.core.TurboModuleManager
17
+ import com.facebook.react.turbomodule.core.TurboModuleManagerDelegate
18
+
19
+ @ThreadSafe
20
+ interface ReactInstanceDelegate {
21
+ val jSMainModulePath: String
22
+
23
+ val bindingsInstaller: BindingsInstaller
24
+
25
+ val reactPackages: List <ReactPackage >
26
+
27
+ fun getJSBundleLoader (context : Context ): JSBundleLoader
28
+
29
+ fun getTurboModuleManagerDelegate (context : ReactApplicationContext ): TurboModuleManagerDelegate
30
+
31
+ fun getJSEngineInstance (context : ReactApplicationContext ): JSEngineInstance
32
+
33
+ fun handleInstanceException (e : Exception )
34
+
35
+ fun getReactNativeConfig (turboModuleManager : TurboModuleManager ): ReactNativeConfig
36
+ }
You can’t perform that action at this time.
0 commit comments