title: The web app showing "This website has been updated in the background"
body: <p>The message can be received in background well,  but the people in the foregrround will nit receive the message and just show  "This website has been updated in the background".</p>
  
  <p>I used the code sample from the fcm documentation.</p>
  
  <p>Index.html (skipped the init script) </p>
  
  <pre><code>messaging.onMessage(function(payload) {
     console.log('Message received. ', payload);
     notificationTitle = payload.data.title;
     notificationOptions = {
       body: payload.data.body,
       icon: payload.data.icon
     };
  
     var notification = new Notification(notificationTitle,notificationOptions); });
  </code></pre>
  
  <p>sw.js</p>
  
  <pre><code>messaging.setBackgroundMessageHandler(function(payload) {
  
    const notificationTitle = payload.data.title;
    const notificationOptions = {
      body: payload.data.body,
      icon: payload.data.icon,
      badge: payload.data.badge
    };
  
    return self.registration.showNotification(notificationTitle,
      notificationOptions);
  });
  </code></pre>
  
  <p>Can anyone help?  THX! </p>