Skip to content

Support for Expo SDK 54 and new architecture. #1102

@klind

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions