CrossmintProvider— SDK initialization (required for all Crossmint features)CrossmintAuthProvider— Authentication state, login/logout, and the auth flow
CrossmintProvider
Root provider for the Crossmint SDK. Must wrap your entire application. Initializes the SDK with your API key and sets up logging.Props
Minimum log level for console output (or “silent” to suppress all output). Logs below this level will not be written to the console. Set to “silent” to completely suppress console output. Defaults to “debug” (all logs shown) for backward compatibility.
Usage
CrossmintAuthProvider
Provides Crossmint authentication to your React Native app: social login (OAuth) and session management. Exposes auth state via theuseCrossmintAuth hook and stores auth material in secure device storage. Must be nested inside CrossmintProvider.
Props
Your app’s deep link scheme(s) (e.g.
"myapp://"), used for OAuth redirects back into your app.Custom storage provider for auth material. Defaults to browser cookies on web and secure device storage on React Native.
Usage
Note: CrossmintAuthProvider must be nested inside CrossmintProvider. Set appSchema to your app’s deep link scheme so OAuth redirects return to your app.

