I'm using Minishlink / WebPush library to send push notifications on a PWA app. My backend is written in PHP and I send JSON payload to registered Service Worker in browser. However, I am facing a specific issue: push notifications always appear as generic on iOS and Android. Even though the payload contains all the correct data (e.g. title and body), the displayed notification always shows a generic message like “Generic Notification” and “You have a new notification”.
JS (sw.js)
self.addEventListener('push', function(event) {
console.log('