SDKs for Android / Initialize library
  Back to Docs

SDKs for Android

Initialize library

Add the following lines to your Android project source code:

Copy
Full screen
Small screen

val loginConfig = LoginConfig.OauthBuilder()
                .setProjectId("login-project-id")
                .setOauthClientId("oauth2-client-id")
                .build()

XLogin.init(applicationContext, loginConfig)
Your progress
Thank you for your feedback!

Continue reading

Last updated: October 10, 2023

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!