I use GCM push notification for my Android app which is basically an instant messenger like Line/What's App. In my app, even after the user logs out, the push notification continue to happen. IN other words, I have no control over the notifications.
Ideally, I would like the notifications to stop when the user logs out of the app and resume after he logs in. Thanks in advance.