global.nativeCallSyncHook is always undefined in bridgeless mode. @tido64 / @cortinico recommend using the RN$Bridgeless global to detect bridgeless (although the preference is to not fork behavior based on the new architecture/bridgeless, in this case in order to continue to support remote debugging in older projects in this codebase it makes sense).
global.nativeCallSyncHook
is always undefined in bridgeless mode. @tido64 / @cortinico recommend using theRN$Bridgeless
global to detect bridgeless (although the preference is to not fork behavior based on the new architecture/bridgeless, in this case in order to continue to support remote debugging in older projects in this codebase it makes sense).