Start a new topic
Answered

Cannot Update user details

user.put("address", "No 2, Baker Street");
user.update(new KinveyClientCallback() {
@Override
public void onSuccess(Object o) {

}

@Override
public void onFailure(Throwable throwable) {

}
});
it does not update my record and it delete my other record

Best Answer

Hi KY,


Instead of putting the values in the User class instance, Please try to get the instance of current user Class via Client and save the values. For reference check this link.


https://devcenter.kinvey.com/android/guides/users#update


We look forward to hearing back from you.


Regards,

Prabhat T.


Hello KY,


Can you tell us how you are trying to update this field? From the Kinvey Console, SDK, App, Business Logic, Flex?


We look forward to hearing back from you.


Regards,


Billy


1 person likes this
Answer

Hi KY,


Instead of putting the values in the User class instance, Please try to get the instance of current user Class via Client and save the values. For reference check this link.


https://devcenter.kinvey.com/android/guides/users#update


We look forward to hearing back from you.


Regards,

Prabhat T.

Thanks!! It worked for me now.

i also had same problem but its solved now !

Login or Signup to post a comment