【发布时间】:2016-01-13 05:02:59
【问题描述】:
我制作了一个应用程序,当用户登录到他的帐户时,它使用 Parse 向其他设备发送推送通知。问题是用户即使在退出后仍然会收到推送。 解决这个问题的方法会很棒。 这是我用来注册设备的代码。
public void registerPushNotification() {
ParseInstallation installation = ParseInstallation.getCurrentInstallation();
installation.put("user", mCurrentUser);
installation.saveInBackground();
}
提前致谢!
【问题讨论】:
标签: android session parse-platform