anwaarmirza
anwaarmirza
Hi Kevin, Actually I have to upload a file for amp purposes as this domain is only allowed. Thanks for the response On Sep 10, 2018 9:42 PM, "kevinkassimo" wrote:...
i want notification click event on foreground
I need foreground click event
navigator.serviceWorker.register('sw.js'); function showNotification() { Notification.requestPermission(function(result) { if (result === 'granted') { navigator.serviceWorker.ready.then(function(registration) { registration.showNotification('Vibration Sample', { body: 'Buzz! Buzz!', icon: '../images/touch/chrome-touch-icon-192x192.png', vibrate: [200, 100, 200, 100, 200, 100, 200], tag:...
thanks for the feedback :) have already implemented this its works fine on desktop but var notif=new Notification("Hi there!!"); is not supported in mob foreground , this is only supporting...