"requireInteraction" option in chrome.notifications API cause the notification to not appear on Mac OS
Reported by
dpkr...@gmail.com,
Jul 20 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: 1. Set requireInteraction to true in background.js of sample extension 2. Install the sample extension 3. Notifications are not created What is the expected behavior? Notifications should appear and stay on screen until the user interacts with it (based on the documentation for requireInteraction on https://developer.chrome.com/apps/notifications ) What went wrong? Notifications do not appear unless requireInteraction is set to false. This is not an issue on Windows and seems to be isolated to Mac OS X. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 59.0.3071.115 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 26.0 r0
,
Jul 21 2017
Thank you for the report! Loading your extension works for me and shows the notification. Does clicking on the display button on the following page work for you? What if you uncheck the requireInteraction checkbox? https://tests.peter.sh/notification-generator/#requireInteraction=true If it doesn't, could you look in the notification settings on your system and see whether Chrome is listed, and if so, once or twice? It should be there twice - once for banners and once for alerts. Please also confirm both are enabled.
,
Jul 21 2017
Thanks for the quick response. It looks like the problem is that Chrome is listed only once in my notification settings. It was set to banners. When I changed the option to alerts, the requireInteraction option seems to work. I noticed that in another Macbook that it works with no issues when Chrome is listed twice in the settings. I don't know why it appears only once on my laptop but I'm glad it's not a widespread issue and only a problem on mine. Thanks a lot for your help! I really appreciate the very quick response.
,
Jul 21 2017
Thank you for providing more feedback. Adding requester "peter@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 24 2017
@dpkravi: Could you confirm, Is this issue can be closed as per comment #3? Thanks!!
,
Jul 24 2017
Yes. This issue can be closed because it was only isolated to my machine. Thanks!
,
Jul 26 2017
Thanks for updating, closing the issue as per above comment.! |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by tapted@chromium.org
, Jul 21 2017