我配置了解析,一切都很好;当我从服务器发送通知时,我的手机会收到通知。
问题是当用户取消选中checkBox
时,他/她应该停止接收通知。
这是我开始解析服务的代码:
Parse.initialize(this, "cod1", "cod2");
ParseInstallation.getCurrentInstallation().saveInBackground();
我已尝试使用
停止通知ParseInstallation.getCurrentInstallation().deleteInBackground();
和
ParsePush.unsubscribeInBackground("");
但上述两个都不起作用:S
提前谢谢!