Skip to content

refactor(rn): bump expo SDK to 56#65

Open
simeng-li wants to merge 1 commit into
masterfrom
simeng-refactor-bump-expo-sdk-56
Open

refactor(rn): bump expo SDK to 56#65
simeng-li wants to merge 1 commit into
masterfrom
simeng-refactor-bump-expo-sdk-56

Conversation

@simeng-li

Copy link
Copy Markdown
Contributor

Summary

Adds support for Expo SDK 56 (React Native 0.85, React 19.2) and bumps the sample app to it.

What changed

  • packages/rn — widened the peer caps for expo-crypto, expo-secure-store, and expo-web-browser to <57 so the SDK supports Expo SDK 55 and 56. Lower bounds are kept (>=14.x), so existing SDK 52–54 consumers are unaffected. Bumped the matching dev deps to 56.x and @types/react to ~19.2.0. Version 1.1.0 → 1.2.0.
  • packages/rn-sample — upgraded the demo app to Expo SDK 56: expo ~56.0.9, react/react-dom 19.2.0, react-native ~0.85.3, @expo/metro-runtime ~56.0.14, expo-status-bar ~56.0.4, and the three expo modules at 56.x.

Note on the cap value

Expo realigned module major versions with the SDK number starting at SDK 55, so these packages jump 15.x (SDK 54) → 55.x (SDK 55) → 56.x (SDK 56) — there is no 16.x. That's why the cap is <57 (covers 55 + 56) rather than <17.

Verification

  • pnpm install resolves cleanly with no peer conflicts; confirmed expo 56.0.9, expo-web-browser 56.0.5, expo-crypto/expo-secure-store 56.0.4, react-native 0.85.3, react 19.2.0.
  • @logto/rn: build, type-check, lint, and unit tests pass; sample app type-checks.
  • ⚠️ Draft: still needs on-device / runtime testing on SDK 56 (New Architecture is default in RN 0.85) before merge.

Testing

Tested locally

Checklist

  • `.changeset`
  • unit tests
  • integration tests
  • necessary TSDoc comments

Widen the expo-crypto / expo-secure-store / expo-web-browser peer caps to
<57 to cover Expo SDK 55 and 56 (Expo realigned module majors with the SDK
number, so the versions jump 15.x -> 55.x -> 56.x). Bump the dev deps and the
sample app to Expo SDK 56 (RN 0.85, React 19.2).
@simeng-li simeng-li marked this pull request as ready for review June 9, 2026 04:06
@simeng-li simeng-li requested a review from Copilot June 9, 2026 04:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the React Native package’s Expo-module peer dependency caps and upgrades the included sample app to Expo SDK 56 (RN 0.85 / React 19.2), aligning this repo’s demo and development dependencies with the newer Expo/RN stack.

Changes:

  • Bumped @logto/rn version to 1.2.0 and updated devDependencies to RN 0.85.3 + Expo module 56.x + @types/react ~19.2.0.
  • Widened @logto/rn peer dependency caps for expo-crypto, expo-secure-store, and expo-web-browser to <57 (to include Expo SDK 55 and 56).
  • Upgraded @logto/rn-sample to Expo ~56.0.9 with corresponding RN/React/Expo module versions.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
packages/rn/package.json Bumps package version and adjusts dev + peer dependency ranges to support Expo module versions through <57.
packages/rn-sample/package.json Upgrades the sample app dependencies to Expo SDK 56 / RN 0.85 / React 19.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants