Commit 61fa569
chore(samples): Upgrade Expo sample to SDK 54 (#5587)
* chore(samples): Upgrade Expo sample to SDK 54
Updates the Expo sample application to use Expo SDK 54, which includes React Native 0.81.5 and React 19.1.
Changes:
- Upgrade Expo SDK from 53 to 54
- Upgrade React Native from 0.79.2 to 0.81.5
- Upgrade React from 19.0.0 to 19.1.0
- Update all Expo packages to SDK 54 compatible versions
- Fix ExternalLink component for expo-router 6.x compatibility (removed deprecated hrefAttrs)
Note: The native ios/android folders are gitignored as they are generated by expo prebuild. For local development in this monorepo, add this to ios/Podfile after running prebuild:
ENV['REACT_NATIVE_NODE_MODULES_DIR'] = File.join(__dir__, '..', 'node_modules', 'react-native')
This ensures the Sentry SDK detects the correct React Native version (0.81.5) instead of the version in packages/core/node_modules.
Resolves #5568
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(ci): Set REACT_NATIVE_NODE_MODULES_DIR for Expo SDK 54 builds
Expo SDK 54 upgraded to React Native 0.81, which uses the new Hermes profiling API. In the monorepo, the Sentry SDK's podspec was detecting RN 0.80 (from packages/core/node_modules) instead of 0.81 (from samples/expo/node_modules), causing it to use the old Hermes API which was removed in RN 0.81.
Setting REACT_NATIVE_NODE_MODULES_DIR ensures the podspec detects the correct React Native version during CI builds.
This only affects the CI build - no changes to the core SDK.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore(deps): Update tar to 7.5.7 to fix security vulnerability
Fixes high severity vulnerability in tar 7.5.6:
- CVE: Arbitrary File Creation/Overwrite via Hardlink Path Traversal
Added resolution to force tar@^7.5.7 which includes the security patch.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(ci): Increase Gradle memory for Expo SDK 54 Android builds
Expo SDK 54 has larger codebase that causes OutOfMemoryError: Metaspace during lint analysis. Increased Gradle JVM memory settings:
- Heap: 4GB (from default 2GB)
- Metaspace: 1GB (from default ~256MB)
Fixes: OutOfMemoryError during lintVitalAnalyzeRelease task
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 8415e4d commit 61fa569
5 files changed
Lines changed: 2587 additions & 534 deletions
File tree
- .github/workflows
- samples/expo
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
15 | 12 | | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments