Clerk Compatibility in Expo 54 and 55
Blog post from Clerk
The article explores the integration of Clerk authentication into Expo apps, focusing on compatibility with Expo SDK versions 54 and 55 and the latest @clerk/expo v3.1.x package. It discusses Clerk's support for various authentication approaches, including JavaScript custom flows, JavaScript with native hooks, and the beta release of native components, detailing their compatibility and requirements across different Expo SDKs. The text also highlights the transition from the Legacy Architecture to the New Architecture, which becomes mandatory in SDK 55, and outlines token management strategies using expo-secure-store. The document further explains the authentication methods available, such as native Google and Apple sign-ins, browser-based SSO, and passkeys, noting the limitations and known issues, such as the peer dependency gap for passkeys on SDK 55. Additionally, it provides detailed guidance on setting up ClerkProvider, route protection strategies with Expo Router, and considerations for production deployment, emphasizing the importance of secure token storage and offline support through Clerk's experimental features.