Updating User Information
Introduction
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.
WarningYou must submit the the userInfo object with all the information, not just the fields to be updated.
WarningYou can modify any of the
UserInfoattributes except foruserPhone, which must be the same as whenregisterUser()was called.
Updated about 1 month ago
