v1.2.0
Summary
- Add Expo SDK 56 support to
@logto/rnand default the dev setup and sample app to it. - Fix web sign-in being blocked as a popup by Safari/Firefox, with a new opt-out flag.
- Resolve reported dependency vulnerabilities via pnpm overrides.
Changes
Expo SDK 56 support (#65)
- Widen
peerDependenciesinpackages/rn/package.jsonso@logto/rnsupports Expo SDK 52–56 —expo-crypto,expo-secure-store, andexpo-web-browserare now allowed up to<57. - Bump dev dependencies to Expo SDK 56 defaults (
react-native0.85,@types/react19.2). - Update the sample app in
packages/rn-sample/package.jsonto Expo SDK 56 (react/react-dom19.2,react-native0.85,react-native-web0.21).
Fix: web sign-in blocked as a popup on Safari/Firefox (#63)
-
On web,
super.signInawaited OIDC discovery, PKCE, and storage before opening the auth window — by then the click's user activation was gone and Safari/Firefox blocked it. The SDK now pre-opens a named blank window synchronously on click and reuses it by name for the auth session, which browsers treat as a navigation rather than a new popup. Native is unaffected. (packages/rn/src/client.ts) -
New
disableWebPopupWorkaroundconfig option (defaultfalse) to opt out and open the window directly, e.g. if it conflicts with your own popup handling:<LogtoProvider config={{ endpoint, appId, disableWebPopupWorkaround: true }}>