Integrate Clerk modern identity, user management, and native social sign-in seamlessly into your mobile app.
Integrate Clerk identity management into your mobile application. Nativine bridges Clerk's authentication flows, enabling seamless one-tap native social sign-in, session token exchange, and passwordless WebAuthn authentication.
Clerk is a leading authentication platform designed for React, Next.js, and modern full-stack web applications. Nativine bridges Clerk's web session tokens directly with native Android and iOS storage vaults:
__session) in native OS keychains to keep users logged in indefinitely across app restarts.pk_live_ or pk_test_).To initialize native social sign-in via Clerk or exchange authentication tokens programmatically, call the nativine.clerk.signIn() function:
nativine.clerk.signIn({
strategy: 'oauth_apple',
publishableKey: 'pk_live_xxxx',
callback: 'onClerkAuthSuccess',
onError: 'onClerkAuthError'
});
| Parameter | Type | Description |
|---|---|---|
strategy |
string | Required. Auth strategy identifier (e.g., oauth_google, oauth_apple, ticket). |
publishableKey |
string | Required. Your Clerk Publishable Key from Clerk Dashboard. |
callback |
string | Optional. Name of JavaScript callback function receiving the Clerk session token. |
Yes. If you offer Google social sign-in via Clerk, Apple App Store guidelines mandate offering Sign in with Apple. Nativine handles Apple Sign-In compliance natively.
Yes. Nativine caches the Clerk JWT token in native iOS Keychain and Android EncryptedSharedPreferences, ensuring zero session loss.