File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/core/src/js/utils Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export function isHermesEnabled(): boolean {
1111
1212/** Checks if the React Native TurboModules are enabled */
1313export function isTurboModuleEnabled ( ) : boolean {
14- return RN_GLOBAL_OBJ . __turboModuleProxy != null ;
14+ return RN_GLOBAL_OBJ . RN$Bridgeless === true || RN_GLOBAL_OBJ . __turboModuleProxy != null ;
1515}
1616
1717/** Checks if the React Native Fabric renderer is running */
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export interface ReactNativeInternalGlobal extends InternalGlobal {
2020 } ;
2121 Promise : unknown ;
2222 __turboModuleProxy : unknown ;
23+ RN$Bridgeless : unknown ;
2324 nativeFabricUIManager : unknown ;
2425 ErrorUtils ?: ErrorUtils ;
2526 expo ?: ExpoGlobalObject ;
You can’t perform that action at this time.
0 commit comments