Skip to content

Commit 2b92359

Browse files
authored
fix: pin react-native-get-random-values (#6735)
1 parent 2d5a735 commit 2b92359

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-system-tests/scripts/mega-app-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ if [ "$FRAMEWORK" == 'react' ]; then
8686

8787
if [ "$BUILD_TOOL" == 'vite' ]; then
8888
# https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility
89-
# Fixes `EventEmitter is not a constructor`` error with geocoder package
89+
# Fixes `EventEmitter is not a constructor`` error with geocoder package
9090
DEPENDENCIES="$DEPENDENCIES events"
9191
echo "DEPENDENCIES=$DEPENDENCIES"
9292
fi
@@ -110,7 +110,7 @@ if [ "$PKG_MANAGER" == 'yarn' ]; then
110110
else
111111
if [[ "$FRAMEWORK" == "react-native" ]]; then
112112
# react-native-safe-area-context v5.0.0+ does not support RN 0.74 and lower
113-
DEPENDENCIES="$TAGGED_UI_FRAMEWORK @aws-amplify/react-native aws-amplify @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values react-native-url-polyfill"
113+
DEPENDENCIES="$TAGGED_UI_FRAMEWORK @aws-amplify/react-native aws-amplify @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values@1.11.0 react-native-url-polyfill"
114114

115115
# react-native-safe-area-context v5 is required for >= 0.74
116116
if [[ "$FRAMEWORK_VERSION" == "latest" || $FRAMEWORK_VERSION > "0.74" ]]; then
@@ -131,7 +131,7 @@ else
131131
# Expo SDK version 52.0.27 supports RN 0.76 and 0.77 but installs 0.76 by default https://expo.dev/changelog/2025-01-21-react-native-0.77#2-install-updated-packages
132132
echo "npx expo install react-native@~0.77.1"
133133
npx expo install react-native@~0.77.1
134-
elif [[ "$FRAMEWORK_VERSION" == "0.75" ]]; then
134+
elif [[ "$FRAMEWORK_VERSION" == "0.75" ]]; then
135135
# Expo SDK version 51.0.0 supports RN 0.74 and 0.75 but installs 0.74 by default https://expo.dev/changelog/2024/08-14-react-native-0.75#2-install-updated-packages
136136
echo "npx expo install react-native@~0.75.0"
137137
npx expo install react-native@~0.75.0

0 commit comments

Comments
 (0)