Repository navigation
chore(mobile): align the Expo SDK 56 native module batch - #6455
Conversation
Bumps the mobile app's Expo packages to the versions the installed SDK expects, plus react-native-screens 4.25.2 -> 4.26.0. These have to move as one batch. An Expo module built against a newer expo-modules-core than the installed one crashes at launch with a DYLD "Symbol not found" SIGABRT, and core patches also drop symbols older precompiled modules need, so skew breaks in both directions. Running `expo install --fix` alone produced exactly that broken pairing: bun's 3-day minimumReleaseAge held core at 56.0.15 while letting expo-media-library move to 56.0.10. The batch is excluded from the release-age floor so it resolves together; every version is pinned exact, so the exclusion affects resolution only, and it can be dropped after 2026-08-16. Two things `expo install --fix` wanted that are deliberately not taken: it rewrote exact pins as ~ ranges (the repo sets exact = true), and it wanted to downgrade @shopify/flash-list 2.3.2 -> 2.0.2, which FilesChangedScreen depends on. Verified on an iOS 26 simulator: native rebuild, cold launch with no new crash reports (the DYLD risk), session restore, home, and the attachments sheet with photo library access. lint, typecheck (37/37), and tests (16/16) pass. Note: 4.26.0 does NOT fix the attachments carousel frame corruption (SUPER-1199) — reproduced on this branch without the fix from #6449, and react-native-screens still emits its "FormSheet with ScrollView expects at most 2 subviews" warning. That fix is still required.
📝 WalkthroughWalkthroughThe mobile app upgrades Expo SDK 56 packages and ChangesExpo SDK 56 alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: 🔵 Low · up to The PR updates the Expo native-module batch and temporarily excludes it from Bun’s release-age gate. It is mergeable with owner awareness, but two Expo dependencies remain ranged rather than exact and the August 16, 2026 exception removal is documented rather than enforced, leaving bounded dependency-drift and supply-chain-control follow-up. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🔇 Additional comments (2)
bunfig.toml (1)
16-44: 🔒 Security & Privacy | 🔵 Trivial | ⚡ Quick win
⚠️ Unverified finding
Sandbox verification was unavailable.Make the temporary release-age exception self-expiring.
minimumReleaseAgeExcludesexempts package names from the age check. It has no expiry field. The comment documents removal after August 16, 2026, but no automation enforces that date. Bun documents this setting as a package-name exemption, not a time-limited exception. (bun.sh)Add a CI check that fails on August 17, 2026 while these Expo entries remain. This prevents the three-day supply-chain age gate from staying disabled indefinitely.
Suggested expiry guard
apps/mobile/package.json (1)
67-95: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick winTighten the Expo batch's dependency controls.
expo-blurandexpo-hapticsstill use~56.0.3, so they can resolve to later SDK 56 patches despite the PR's exact-pin batch guarantee. Pin them exactly or document why they are excluded.- Run a frozen Bun install and confirm the committed
bun.lockmatchesapps/mobile/package.jsonwith no unresolved peer warnings.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 925c0ac8-7a5a-4f21-9d8f-cc9e84d13117
⛔ Files ignored due to path filters (1)
bun.lockis excluded by!**/*.lock
📒 Files selected for processing (2)
apps/mobile/package.jsonbunfig.toml
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Brings the mobile app's Expo packages to the versions the installed SDK expects, plus
react-native-screens4.25.2 → 4.26.0. Done now, ahead of the App Store build, while there are no users to regress.Why this is a batch, not a version list
An Expo module built against a newer
expo-modules-corethan the installed one crashes at launch with a DYLDSymbol not foundSIGABRT, and core patches also drop symbols older precompiled modules need — the skew breaks in both directions.Running
expo install --fixon its own produced exactly that broken pairing: bun's 3-dayminimumReleaseAgeheldexpo-modules-coreat 56.0.15 while lettingexpo-media-librarymove to 56.0.10. Shipping that would have bricked the app on first launch.So the batch is excluded from the release-age floor, which lets it resolve together. Every version is pinned exact in
package.json, so the exclusion affects resolution only, never drift. It's dated inbunfig.tomland can be deleted after 2026-08-16, once the versions clear the floor on their own (a one-shot automation is scheduled to do that and open a follow-up PR).Deliberately not taken from
expo install --fix~ranges; this repo setsexact = true.@shopify/flash-list2.3.2 → 2.0.2, whichFilesChangedScreendepends on. Kept at 2.3.2.Verification
Native rebuild and cold launch on an iOS 26 simulator, since the DYLD failure mode only shows up in a real build:
lintclean,typecheck37/37,test16/16,sherifwarnings unchanged from baseline.On the carousel
4.26.0 was the TODO's proposed fix for SUPER-1199. It does not fix it — reproduced on this branch (which lacks #6449's change) with tiles still painting at ~60% height, and react-native-screens still emitting
FormSheet with ScrollView expects at most 2 subviews. #6449 remains necessary.Summary by cubic
Aligns the mobile app’s Expo SDK 56 native modules to the installed SDK’s same-day versions and bumps
react-native-screensto 4.26.0 to prevent DYLD launch crashes fromexpo-modules-coreskew.Review and rollout notes
bun’sminimumReleaseAgeinbunfig.tomlsoexpopackages resolve together; remove this block after 2026-08-16.package.jsonpins (no~ranges) and avoids theexpo install --fix-suggested downgrade of@shopify/flash-list, whichFilesChangedScreenuses.react-native-screensupdate does not resolve SUPER-1199 (attachments carousel issue); that fix remains separate.Written for commit 8e2148f. Summary will update on new commits.
Summary by CodeRabbit