-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Is your feedback related to a problem? Please describe.
Following the React Native & Expo setup guide with Expo SDK 54 causes the app to crash immediately on launch in signed builds (e.g. EAS Preview or Production). The guide instructs to install expo-crypto and text-encoding, but does not mention that react-native-get-random-values needs to be pinned to a specific version. The current stable version is 2.0.0, while SDK 54 requires ~1.11.0. This major version mismatch silently crashes the app on startup with no error message shown. It is also unclear whether @typedigital/telemetrydeck-react is officially compatible with Expo SDK 54 at all, and the reliance on deprecated packages like text-encoding (which is no longer maintained) introduces potential security vulnerabilities into production apps.
Describe the solution you'd like or the information you're missing
The documentation should either explicitly state which version of react-native-get-random-values is compatible with each Expo SDK version, or advise running the following command after setup to let Expo resolve all versions correctly:
npx expo install react-native-get-random-values
npx expo install --check
Additional context
expo doctor reveals the mismatch clearly:
❗ Major version mismatches
package expected found
react-native-get-random-values ~1.11.0 2.0.0
Environment: @typedigital/telemetrydeck-react@0.5.0, Expo SDK 54, React Native 0.81.5, EAS Build (Preview).