Updating User Information


When you start the SDK, a user is created in our backend with all of the parameters that you sent in the UserInfo object using the registerUser() method.

Updating a user

If a user's data is changed in your app, you can update the UserInfo object to maintain consistency. To do this, we expose a method where you can pass updated data. It's important to know that the method needs to receive all user information again.

updateUser(userInfo: UserInfo, context: Context): Boolean

This method returns a true if the user information was successfully updated in our server.



You must submit the the userInfo object with all the information, not just the fields to be updated.



You can modify any of the UserInfo attributes except foruserPhone, which must be the same as when registerUser() was called.

Did this page help you?