{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/93","repository_url":"https://api.github.com/repos/driftyco/ionic-platform-issues","labels_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/93/comments","events_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/93/events","html_url":"https://github.com/driftyco/ionic-platform-issues/issues/93","id":151649431,"number":93,"title":"Push Notification Issue (Without device token notification goes to the particular user id) ","user":{"login":"kori002","id":18674221,"avatar_url":"https://avatars.githubusercontent.com/u/18674221?v=3","gravatar_id":"","url":"https://api.github.com/users/kori002","html_url":"https://github.com/kori002","followers_url":"https://api.github.com/users/kori002/followers","following_url":"https://api.github.com/users/kori002/following{/other_user}","gists_url":"https://api.github.com/users/kori002/gists{/gist_id}","starred_url":"https://api.github.com/users/kori002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kori002/subscriptions","organizations_url":"https://api.github.com/users/kori002/orgs","repos_url":"https://api.github.com/users/kori002/repos","events_url":"https://api.github.com/users/kori002/events{/privacy}","received_events_url":"https://api.github.com/users/kori002/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-28T14:03:28Z","updated_at":"2016-04-28T14:10:49Z","closed_at":null,"body":"I am using ionic 1.x\r\n\r\nI had follow the instruction for push notification as per the documentation.\r\nI am able to send an notification to a particular user, even if  user don't have a device token.\r\nI have followed this docs for sending notification through users_ids\r\n\r\n[http://docs.ionic.io/docs/push-sending-push](url)\r\n\r\n1. Firstly when i create the user without device token it doesn't send notification.\r\n2. And when user get the device token then notification is received.\r\n3. If we remove the device token from that particular user still user receive the notification. (So my point is that user should not  get notification.).\r\n4. And when i deleted that particular user than also received a notification.\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/comments/215435571","html_url":"https://github.com/driftyco/ionic-platform-issues/issues/93#issuecomment-215435571","issue_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/93","id":215435571,"user":{"login":"kori002","id":18674221,"avatar_url":"https://avatars.githubusercontent.com/u/18674221?v=3","gravatar_id":"","url":"https://api.github.com/users/kori002","html_url":"https://github.com/kori002","followers_url":"https://api.github.com/users/kori002/followers","following_url":"https://api.github.com/users/kori002/following{/other_user}","gists_url":"https://api.github.com/users/kori002/gists{/gist_id}","starred_url":"https://api.github.com/users/kori002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kori002/subscriptions","organizations_url":"https://api.github.com/users/kori002/orgs","repos_url":"https://api.github.com/users/kori002/repos","events_url":"https://api.github.com/users/kori002/events{/privacy}","received_events_url":"https://api.github.com/users/kori002/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T14:10:49Z","updated_at":"2016-04-28T14:10:49Z","body":"@Fuiste \r\nI am using this method - push.unregister(); for deleting the tokens.\r\nYes after removing the token user still gets the notification.\r\nalso adding to this when i delete a user then to they receive a notification. "}}