Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/sample-application-expo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
[[ "${{ matrix.build-type }}" == "production" ]] && ENABLE_PROD=1 || ENABLE_PROD=0
[[ "${{ matrix.ios-use-frameworks }}" == "dynamic-frameworks" ]] && export USE_FRAMEWORKS=dynamic
echo "ENABLE_PROD=$ENABLE_PROD"
# Monorepo fix: Point Sentry SDK to correct React Native version (0.81 vs 0.80)
# Monorepo fix: Point Sentry SDK to correct React Native version (0.83 vs 0.80)
export REACT_NATIVE_NODE_MODULES_DIR="$(cd ../node_modules/react-native && pwd)"
PRODUCTION=$ENABLE_PROD pod install
cat Podfile.lock | grep $RN_SENTRY_POD_NAME
Expand All @@ -116,7 +116,7 @@ jobs:
if: ${{ matrix.platform == 'android' }}
working-directory: samples/expo/android
env:
# Increase memory for Expo SDK 54 lint tasks
# Increase memory for Expo SDK 55 lint tasks
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g"
run: |
[[ "${{ matrix.build-type }}" == "production" ]] && CONFIG='Release' || CONFIG='Debug'
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/utils/metro.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const withMonorepo = config => {
(!!config.resolver.blockList && [config.resolver.blockList]) ||
[]),
...getBlockList(monorepoPackages, ['react-native', 'react']),
new RegExp('.*\\android\\.*'), // Required for Windows in order to run the Sample.
new RegExp(`${projectRoot.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}[/\\\\]android[/\\\\].*`), // Required for Windows in order to run the Sample.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old regex was too broad and broke module resolution

];
config.resolver.blockList = exclusionList(blockList);

Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"ajv-formats@npm:2.1.1/ajv": "^8.18.0",
"appium@npm:2.4.1/ajv": "^8.18.0",
"detox@npm:20.46.0/ajv": "^8.18.0",
"expo-dev-launcher@npm:6.0.20/ajv": "^8.18.0",
"@eslint/eslintrc@npm:2.1.4/ajv": "^6.14.0",
"@eslint/eslintrc@npm:3.3.3/ajv": "^6.14.0",
"eslint@npm:8.57.0/ajv": "^6.14.0",
Expand Down Expand Up @@ -103,11 +102,8 @@
"readdir-glob@npm:1.1.3/minimatch": "^5.1.8",
"glob@npm:9.3.5/minimatch": "^8.0.6",
"@expo/cli@npm:0.24.11/minimatch": "^9.0.7",
"@expo/cli@npm:54.0.22/minimatch": "^9.0.7",
"@expo/fingerprint@npm:0.12.4/minimatch": "^9.0.7",
"@expo/fingerprint@npm:0.15.4/minimatch": "^9.0.7",
"@expo/metro-config@npm:0.20.13/minimatch": "^9.0.7",
"@expo/metro-config@npm:54.0.14/minimatch": "^9.0.7",
"@npmcli/arborist@npm:7.5.4/minimatch": "^9.0.7",
"@npmcli/map-workspaces@npm:3.0.6/minimatch": "^9.0.7",
"@nx/devkit@npm:19.6.4/minimatch": "^9.0.7",
Expand Down
1 change: 0 additions & 1 deletion samples/expo/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"name": "sentry-react-native-expo-sample",
"slug": "sentry-react-native-expo-sample",
"jsEngine": "hermes",
"newArchEnabled": true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In React Native 0.83 (Expo SDK 55), the New Architecture is the default. The newArchEnabled flag is no longer a valid configuration key — expo-doctor flags it as an error. Since it's now on by default, explicitly setting it is both unnecessary and invalid.

"scheme": "sentry-expo-sample",
"version": "8.3.0",
"orientation": "portrait",
Expand Down
34 changes: 17 additions & 17 deletions samples/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@
"dependencies": {
"@sentry/core": "10.42.0",
"@sentry/react-native": "8.3.0",
"@types/react": "~19.1.10",
"expo": "^54.0.0",
"expo-constants": "~18.0.13",
"expo-dev-client": "~6.0.20",
"expo-image-picker": "~17.0.10",
"expo-linking": "~8.0.11",
"expo-router": "~6.0.22",
"expo-status-bar": "~3.0.9",
"expo-updates": "~29.0.16",
"expo-web-browser": "~15.0.10",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-gesture-handler": "~2.28.0",
"@types/react": "~19.2.10",
"expo": "^55.0.0",
"expo-constants": "~55.0.7",
"expo-dev-client": "~55.0.11",
"expo-image-picker": "~55.0.11",
"expo-linking": "~55.0.7",
"expo-router": "~55.0.4",
"expo-status-bar": "~55.0.4",
"expo-updates": "~55.0.12",
"expo-web-browser": "~55.0.9",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.2",
"react-native-gesture-handler": "~2.30.0",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-screens": "~4.23.0",
"react-native-web": "^0.21.0",
"typescript": "~5.9.2"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@react-native/eslint-config": "0.79.1",
"@react-native/eslint-config": "0.83.2",
"@sentry/babel-plugin-component-annotate": "5.1.1",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "^8.50.0",
"@typescript-eslint/parser": "^8.50.0",
"eslint": "^8.57.0",
"eslint-config-expo": "~10.0.0",
"eslint-config-expo": "~55.0.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.5.0",
Expand Down
Loading
Loading