Enterprise-level SDKs for Android / User account
  Back to Docs

Enterprise-level SDKs for Android

User account

Users can manage the following information from their account:

  • public profile:
    • avatar
    • nickname
  • personal profile:
    • name and surname
    • date of birth

Note
Users can set their date of birth only once. This value can’t be changed in the future.
    • gender
    • phone number
    • email
Note
To set additional user or game character parameters, refer to the instruction on how to work with user attributes.
To implement the user account functionality:
  1. In the application UI, add forms for viewing and managing the user account.
  2. Use the following Login library methods to implement the logic of working with user accounts:
SDK reference documentation
Learn more about SDK methods and its parameters.
SDK method nameDescription
checkUserAge
Checks the user’s age for a particular region. The age requirements depend on the region. Service determines the user’s location by the IP address.
getCurrentUserDetails
Returns information about the user.
updateCurrentUserDetails
Updates the specified user’s information. Changes are made on the user data storage side.
getCurrentUserEmail
Gets the user’s email.
getCurrentUserPhone
Returns the user’s phone number that is used for two-factor authentication.
updateCurrentUserPhone
Changes the user’s phone number that is used for two-factor authentication. Changes are made on the user data storage side.
deleteCurrentUserPhone
Deletes the user’s phone number that is used for two-factor authentication. Changes are made on the user data storage side.
uploadCurrentUserAvatar
Changes the user’s avatar. Changes are made on the user data storage side.
deleteCurrentUserAvatar
Deletes the user’s avatar. Changes are made on the user data storage side.
Note
If you don’t want to implement an interface and additional logic for working with user accounts, implement opening user accounts by URL in an iframe or new browser tab.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.

Useful links

Last updated: July 31, 2024

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!