Initialize library
Add the following lines to your Android project source code:
Copy
- kotlin
val loginConfig = LoginConfig.OauthBuilder()
.setProjectId("login-project-id")
.setOauthClientId("oauth2-client-id")
.build()
XLogin.init(applicationContext, loginConfig)
Your progress
Continue reading
Last updated: April 6, 2023Found a typo or other text error? Select the text and press Ctrl+Enter.