ClerkConfigurationOptions
Data class for enabling extra functionality on the Clerk SDK.
Constructors
Properties
Whether the client and environment are refreshed from the server every time the app returns to the foreground. Defaults to true.
Additional headers to append to outgoing Clerk API requests.
If true, enables verbose logging for SDK operations and API calls. Defaults to false.
Optional configuration for synchronizing Clerk state between same-signed sibling apps that use the same publishable key.
Whether to enable telemetry for this SDK instance.
Whether the UI library shows its update-required screen over your app automatically when the app's versionCode is older than the minimum set in the Clerk Dashboard. Defaults to true.
Functions
Returns a copy of these options with additional outgoing request headers configured.
Returns a copy of these options that skips the client and environment refresh on app foreground. Intended for host SDKs (for example, the Expo SDK) that own client state and perform their own refreshes; the initial refresh during Clerk.initialize and periodic session token refresh are unaffected. While Clerk.appVersionSupportStatus is unsupported, the foreground refresh still runs, so lowering the minimum in the Clerk Dashboard lifts the block.
Returns a copy of these options that stops the UI library from showing its update-required screen automatically. Collect Clerk.appVersionSupportStatus to show your own update UI instead.