-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to-do-notifications: Not working on Android google chrome #174
Comments
There was a bug (my fault). We fixed it earlier today. Can you double-check it works? |
Some changes seems to have be implemented ,the todo item now get pretended to the body but a notification still wasn't sent. though it asked for notification permission when I clicked the allow notification button ,and I granted it |
Thank you, there likely is a second problem. (I suspect the notification API evolved since this has been written). I'll try to dig this out. |
Will look up to that ,sir |
Looks likes it is browser compatability issue |
I've tried in Chrome with the Native notification flag on and off, no difference. The Notification is not displayed and fail silently. Also when I add a
I've not found anything on the Web about this. (Difficult to search for Notification API, a lot of noise…) @jpmedley Could you find somebody who could help us? The code is fairly short and straightforward; a Web Notification API specialist will probably need only a few minutes of their time to understand it. I really would like to have this example work in Chrome (and maybe update our guides on MDN) |
I ran into this a few weeks ago. The problem's not in the code. On mac, notifications need to be turned on at the OS level. I'm still trying to find out why. I'm told that this resets with every system upgrade, but I haven't confirmed this. There is no way to detect this condition in a script. I'll keep you apprised with updates as I learn them. |
Thanks |
We're having trouble pinning down the precise cause of this. Here's what we think at this point. Apple has changed its notification API for mac. The old one is still available but deprecated. We think that with the new one, if you decline the first notification request, all notifications are shut off at the os level for Chrome. I recently got a new work mac, so I mentioned that I must have accepted the first Firefox request and that's why notifications work in that app. Apparently it's also possible that Firefox has yet to upgrade to the new mac API. At this point, we just don't know. @beverloo, please correct this if I've gotten anything wrong. |
Thanks for digging into this. These would explain quite a lot of problems. |
We are merging this repository into dom-examples. I will move this issue to dom-examples, so this conversation can continue there. |
You can find the code here https://github.com/mdn/dom-examples/tree/main/to-do-notifications |
hi folks :) i'm going through some open MDN issues and this one popped up. my latest understanding of this issue is:
i have a few questions:
if there is still a desire to fix this example on Android/Chrome, this issue should still be active. @teoli2003 - is this something that you would fix? mentioning all involved: |
For some reason the application doesn't seem to work with my browser and also there is no indication that a notification has been enabled
The text was updated successfully, but these errors were encountered: