Skip to content

Support for Expo SDK 54 and new architecture. #1102

Description

@klind

Summary

React-native-get-random-values is breaking builds with Expo SDK 54 + New Architecture.
Technical Details:

  • Error: Undefined symbols for architecture arm64: _RCTRegisterModule
  • Root Cause: react-native-get-random-values@1.11.0 (used by Segment packages) has New Architecture compatibility issues
  • Build Failure: iOS builds fail during linking phase because the module can't find React Native registration symbols

Why This Matters:

  • react-native-get-random-values is only maintained by one person (LinusU)
  • Very little activity on the GitHub repository
  • Blocking Expo SDK 54 adoption for any app using Segment Analytics
  • Unreliable dependency for enterprise/production apps

Current Segment Dependencies:

  • @segment/analytics-react-native@2.21.3 → depends on react-native-get-random-values@1.11.0
  • @segment/sovran-react-native@1.1.3 → depends on react-native-get-random-values@1.11.0

Proposed Solution

Recommended Solution for Segment:
Replace react-native-get-random-values

Activity

  1. xuanmai-agilityio commented on Nov 20, 2025

    @xuanmai-agilityio

    Update: react-native-get-random-values just got upgraded to support the New Architecture on version 2.0.

  2. rdaniel0 commented on Dec 12, 2025

    @rdaniel0

    Found this while upgrading to Expo 54.

    You can add an override in package.json as a temp workaround until this is updated.
    I haven't fully tested this yet, so make sure you do your own testing appropriately

    yarn: resolutions
    npm: overrides

      "resolutions": {
        "react-native-get-random-values": "^2.0.0"
      },
    

    Beware this will affect other packages relying on this dependency

  3. RomanSytnyk commented on Jan 19, 2026

    @RomanSytnyk
    Contributor

    It would to be nice to have it in the new update

  4. taiwo-signal commented on Mar 19, 2026

    @taiwo-signal

    This issue is addressed by #1174, which bumps react-native-get-random-values from 1.11.0 to 2.0.0 to support React Native v0.81 and Expo SDK 54.

  5. added a commit that references this issue on Jun 16, 2026
    d1f984a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions