LinusU / react-native-get-random-values

A small implementation of `getRandomValues` for React Native
MIT License
350 stars 48 forks source link

Support bridgeless mode #57

Closed brentvatne closed 8 months ago

brentvatne commented 8 months ago

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).

LinusU commented 8 months ago

Thanks for the PR! 🙏

Released as 🚢 1.11.0 / 2024-03-06