Prerequisites
Before you begin, make sure you have set up your Privy app and obtained your app ID and client ID from the Privy Dashboard.Initializing Privy
Initialize a Privy instance with your application context and aPrivyConfig object:
Configuration
The configuration fields for the PrivyConfig are:String
required
Your Privy application ID, which can be obtained from the Privy Developer
Dashboard, under App Settings > Basics
String
required
Your app client ID, which can be obtained from the Privy Developer
Dashboard, under App Settings > Clients
PrivyLogLevel
(Optional) Your preferred log level. If no log level is specified, it will default to
PrivyLogLevel.NONE.LoginWithCustomAuthConfig
(Optional) Only use this if you plan to use custom authentication. Find more information
here.
NetworkStateManager
(Optional) A custom network state manager. Use this field when the app already manages network
state and the SDK’s built-in network monitor causes conflicts.

