SDKs for Android / Initialize library
 Back to Docs

SDKs for Android

  • Login library

  • Store library

  • Inventory library

  • Payments library

  • Subscriptions library

  • Authentication

  • Catalog

  • Promotions

  • Item purchase

  • Player inventory

  • User account and attributes

  • 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: April 6, 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!