Offline logout and push notifications

How should I handle offline logouts in my application and unregister for push notifications?


I know that I should definitely tell my server to delete my device token and not send me any push notifications after logging out, but how do I ensure no notifications are being sent in the timeframe when the Internet comes back online and the client opens the application again?


I'm aware of the unregisterForPushNotifications call, but from the documentation I don't what it does and if I am safe to call it after each logout.

Post not yet marked as solved Up vote post of aivcec-RA Down vote post of aivcec-RA
771 views