westlinkin
使用如下代码维护_Installation表中的三个字段,主要是跟_User表中的user做对应。 public static void refreshInstallation(final User user) { Log.d("PushHelper", "refreshInstallation, user is null: " + (user == null)); AVInstallation.getCurrentInstallation().saveInBackground(new SaveCallback() { @Override public void done(AVExceptio…
已经解决了,还是要用两次 saveInBackground 才能保存数据。 public static void refreshInstallation(final User user) { Log.d("PushHelper", "refreshInstallation, user is null: " + (user == null)); final AVInstallation currentInstallation = AVInstallation.getCurrentInstallation(); if (user == null) { currentInstallation.put…