Hello everyone!
I'm trying to test push notifications for PWA, but when I request permission via JS I catch 'Permissions denied'.
Notification.requestPermission(result => {
console.log(result)
if (result === 'granted') {
alert('Permissions granted')
}
else {
alert('Permissions denied')
}
});
Is it available to get permissions for IOS? It works properly with android and mac.
Does anyone know what am I missing, or what is wrong?