notification-logger icon indicating copy to clipboard operation
notification-logger copied to clipboard

Support Chrome for Android

Open simevidas opened this issue 8 years ago • 6 comments

I’ve tested your demo in browsers on Android; it works in Firefox, but not in Chrome. Could you confirm?

simevidas avatar Oct 13 '16 04:10 simevidas

Works fine on Desktop. Never tried on Android. As for ios it is not working on Safari.

hkirat avatar Oct 13 '16 08:10 hkirat

Having this feature on mobile would be quite useful, I think, because unlike desktop, you can’t just open DevTools on the mobile device. Instead, you’d have to connect the device via USB and activate remote debugging. You library seems like a handy alternative to that.

So, it’s definitely worth making this work on mobile as well. Note that testing on real mobile devices has become an integral part of web development.

simevidas avatar Oct 13 '16 17:10 simevidas

Thanks for the suggestion @simevidas I totally agree that testing on mobile devices is integral these days. I've never tried remote debugging, but I will after this. Could you once check with your chrome whether or not the application was provided permission to provide Desktop Notification. Did a popup asking for permission appear in chrome?

hkirat avatar Oct 13 '16 18:10 hkirat

Yes, I got the permission dialog and enabled notifications.

I just tested via remote debugging and got this error when trying your demo: capture

simevidas avatar Oct 13 '16 23:10 simevidas

Thanks @simevidas . I'll look into it

hkirat avatar Oct 14 '16 07:10 hkirat

Notifications in Chrome Mobile are a known issue, maybe this helps, but works only in https: http://stackoverflow.com/questions/31512504/html5-notification-not-working-in-mobile-chrome

leocabeza avatar Oct 14 '16 19:10 leocabeza