{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/quickstart-js/issues/216","repository_url":"https://api.github.com/repos/firebase/quickstart-js","labels_url":"https://api.github.com/repos/firebase/quickstart-js/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/firebase/quickstart-js/issues/216/comments","events_url":"https://api.github.com/repos/firebase/quickstart-js/issues/216/events","html_url":"https://github.com/firebase/quickstart-js/issues/216","id":317558097,"number":216,"title":"window Firefox and Chrome cannot reveice fcm?","user":{"login":"TerryLee7788","id":5190437,"avatar_url":"https://avatars1.githubusercontent.com/u/5190437?v=4","gravatar_id":"","url":"https://api.github.com/users/TerryLee7788","html_url":"https://github.com/TerryLee7788","followers_url":"https://api.github.com/users/TerryLee7788/followers","following_url":"https://api.github.com/users/TerryLee7788/following{/other_user}","gists_url":"https://api.github.com/users/TerryLee7788/gists{/gist_id}","starred_url":"https://api.github.com/users/TerryLee7788/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerryLee7788/subscriptions","organizations_url":"https://api.github.com/users/TerryLee7788/orgs","repos_url":"https://api.github.com/users/TerryLee7788/repos","events_url":"https://api.github.com/users/TerryLee7788/events{/privacy}","received_events_url":"https://api.github.com/users/TerryLee7788/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T09:57:18Z","updated_at":"2018-04-26T01:08:50Z","closed_at":null,"author_association":"NONE","body":"my reproduce steps:\r\n1: allow the notification and **get the subscription and send to backend db** to save the device token at the first time.\r\n2: change the browser Notification's permission to 'denied'.\r\n3: then change the browser Notification's permission to 'allow' again.\r\n4: backend send request to firebase and tell firebase to send message to these device token users.\r\n\r\nthen, i can't get fcm message.\r\n\r\ni am not sure how this happened...\r\n\r\nis there any way to fix this issue? thank you so much. :)"},"comment":{"url":"https://api.github.com/repos/firebase/quickstart-js/issues/comments/384480844","html_url":"https://github.com/firebase/quickstart-js/issues/216#issuecomment-384480844","issue_url":"https://api.github.com/repos/firebase/quickstart-js/issues/216","id":384480844,"user":{"login":"TerryLee7788","id":5190437,"avatar_url":"https://avatars1.githubusercontent.com/u/5190437?v=4","gravatar_id":"","url":"https://api.github.com/users/TerryLee7788","html_url":"https://github.com/TerryLee7788","followers_url":"https://api.github.com/users/TerryLee7788/followers","following_url":"https://api.github.com/users/TerryLee7788/following{/other_user}","gists_url":"https://api.github.com/users/TerryLee7788/gists{/gist_id}","starred_url":"https://api.github.com/users/TerryLee7788/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerryLee7788/subscriptions","organizations_url":"https://api.github.com/users/TerryLee7788/orgs","repos_url":"https://api.github.com/users/TerryLee7788/repos","events_url":"https://api.github.com/users/TerryLee7788/events{/privacy}","received_events_url":"https://api.github.com/users/TerryLee7788/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T01:08:50Z","updated_at":"2018-04-26T01:08:50Z","author_association":"NONE","body":"I think I find the reason,\r\n\r\nfor example,\r\nIf my site has some pages,\r\n\r\na.php\r\nb.php\r\n\r\nI register service worker at the\" a.php\" page, and get token from firebase and send the token to my backend server,\r\nthen I try to send notification at the \"a.php\" page, it works, then I go to \"b.php\" page do the same thing again, there is no notification show up.\r\n\r\nI think the fcm is not a real push notification, right?\r\nI thought that the behavior of fcm and gcm would be the same ... so sad :("}}
{"actor":{"display_login":"TerryLee7788"}}