{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/quickstart-android/issues/41","repository_url":"https://api.github.com/repos/firebase/quickstart-android","labels_url":"https://api.github.com/repos/firebase/quickstart-android/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/firebase/quickstart-android/issues/41/comments","events_url":"https://api.github.com/repos/firebase/quickstart-android/issues/41/events","html_url":"https://github.com/firebase/quickstart-android/issues/41","id":158867977,"number":41,"title":"Can Firebase console push notification if apps is closed? (User swipe away with the long click menu)","user":{"login":"jamesytl","id":17899653,"avatar_url":"https://avatars.githubusercontent.com/u/17899653?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesytl","html_url":"https://github.com/jamesytl","followers_url":"https://api.github.com/users/jamesytl/followers","following_url":"https://api.github.com/users/jamesytl/following{/other_user}","gists_url":"https://api.github.com/users/jamesytl/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesytl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesytl/subscriptions","organizations_url":"https://api.github.com/users/jamesytl/orgs","repos_url":"https://api.github.com/users/jamesytl/repos","events_url":"https://api.github.com/users/jamesytl/events{/privacy}","received_events_url":"https://api.github.com/users/jamesytl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-06-07T08:35:21Z","updated_at":"2016-06-29T01:24:05Z","closed_at":"2016-06-28T19:47:15Z","body":"I have tried developing a firebase notification apps with this [MyFirebaseMessagingService link](https://github.com/firebase/quickstart-android/blob/master/messaging/app/src/main/java/com/google/firebase/quickstart/fcm/MyFirebaseMessagingService.java) and [MyFirebaseInstanceIDService link ](https://github.com/firebase/quickstart-android/blob/master/messaging/app/src/main/java/com/google/firebase/quickstart/fcm/MyFirebaseInstanceIDService.java) example that will receive notification from the console. However, if I close the apps by swiping away the app from the task manager, the app will no longer be able to receive any notification.\r\n\r\nI have tried using  a service that return START_STICKY and using it to start the MyFirebaseMessagingService but still couldn't receive any notification.\r\n\r\nIs this how the firebase push notification intended to perform or am I doing it wrongly? \r\n\r\nExtra Info. : My apps is working if I only click back but not if I swipe it away in task manager."},"comment":{"url":"https://api.github.com/repos/firebase/quickstart-android/issues/comments/229231392","html_url":"https://github.com/firebase/quickstart-android/issues/41#issuecomment-229231392","issue_url":"https://api.github.com/repos/firebase/quickstart-android/issues/41","id":229231392,"user":{"login":"jamesytl","id":17899653,"avatar_url":"https://avatars.githubusercontent.com/u/17899653?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesytl","html_url":"https://github.com/jamesytl","followers_url":"https://api.github.com/users/jamesytl/followers","following_url":"https://api.github.com/users/jamesytl/following{/other_user}","gists_url":"https://api.github.com/users/jamesytl/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesytl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesytl/subscriptions","organizations_url":"https://api.github.com/users/jamesytl/orgs","repos_url":"https://api.github.com/users/jamesytl/repos","events_url":"https://api.github.com/users/jamesytl/events{/privacy}","received_events_url":"https://api.github.com/users/jamesytl/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T01:24:04Z","updated_at":"2016-06-29T01:24:04Z","body":"@schonmann  yup that's what I did previously too. Try doing data payload only andremember to handle it in your FirebaseMessagingService's OnMessageReceived(). Good luck coding ;)\r\n\r\nPS: My RedMi Note 3 still have some issues like not receiving any notification until it is manually disconnect and reconnect to a Wi-Fi connection. Not sure how it works but I guess its still device dependent as the two same devices will yield different result."}}
{"actor":{"display_login":"jamesytl"}}