Change8

@clerk/expo@4.1.0

📦 clerkView on GitHub →
2 features🐛 1 fixes🔧 2 symbols

Summary

This release introduces the `useHostedAuth()` hook for native Expo apps and adds a `logo` prop to the `AuthView` for custom branding. It also includes a fix for session management during native client changes.

✨ New Features

  • Introduce the `useHostedAuth()` hook for signing users in or up through Clerk's hosted Account Portal from native Expo apps.
  • Add a `logo` prop to the native `AuthView`, allowing Expo apps to replace the dashboard-configured logo with custom React Native content on Android and iOS.

🐛 Bug Fixes

  • Keep the active session when a native client change resolves to a different, signed-out client. The check that discards those clients compared a reference that the refresh had already mutated, so it never engaged and the signed-out client was applied over the current session.

Affected Symbols