Skip to content

Support bridgeless mode#57

Merged
LinusU merged 2 commits intoLinusU:masterfrom
brentvatne:support-bridgeless
Mar 6, 2024
Merged

Support bridgeless mode#57
LinusU merged 2 commits intoLinusU:masterfrom
brentvatne:support-bridgeless

Conversation

@brentvatne
Copy link
Contributor

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 LinusU force-pushed the support-bridgeless branch from df37541 to a649360 Compare March 6, 2024 17:21
@LinusU LinusU merged commit 3f8e409 into LinusU:master Mar 6, 2024
@LinusU
Copy link
Owner

LinusU commented Mar 6, 2024

Thanks for the PR! 🙏

Released as 🚢 1.11.0 / 2024-03-06

High5Apps added a commit to High5Apps/organize-rn that referenced this pull request Feb 11, 2025
- The warning appeared when creating a new current user
- The fix was included in react-native-get-random-values@1.11.0
  - LinusU/react-native-get-random-values#57
```
Warning: Keys.ts:59 Using an insecure random number generator, this should only happen when running in a debugger without support for crypto.getRandomValues
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants