showing notifications (version 1.3.0., native:true) on Windows 10 Chrome works fine. When loading the same page on my mobile device with Chrome, I get the following error:
Unhandled Rejection (TypeError): Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead.
Hi,
showing notifications (version 1.3.0., native:true) on Windows 10 Chrome works fine. When loading the same page on my mobile device with Chrome, I get the following error:
Unhandled Rejection (TypeError): Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead.
The stack trace is:
In my code I am just using the addNotification() function as described in the documentation here.
Thanks for helping and kind regards,
Alexander