I am running Vger.app on Safari, current version on a MacBook Air. I keep seeing the badge for an update, but when I run the update, the badge is still there. It is version 1.25.0.

I now see the badge whenever I browse on Voyager.

Yeah, safari has a bug where when the SSL certificate renews, the service worker won’t update. Super annoying. But it is tracked on GitHub and I will be taking a look soon. Probably just have to blow away the service worker manually for Safari ಥ_ಥ

edit: Can you try pasting the following code into Safari’s JS console on the vger.app site? Let me know if the notice disappears.

(async function() {
  try {
    // Get all service worker registrations
    const registrations = await navigator.serviceWorker.getRegistrations();

    // Unregister all service workers concurrently using Promise.all
    await Promise.all(
      registrations.map((registration) => registration.unregister())
    );
  } finally {
    // After unregistering, reload the page
    window.location.href = "/";
  }
})();
permalink
report
reply
2 points

That seemed to do the trick, no longer seeing the badge.

permalink
report
parent
reply

Great, I’ll get a permanent fix in the next release!

permalink
report
parent
reply
2 points

Thanks!

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
reply

Voyager

!voyagerapp@lemmy.world

Create post

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! 👇

💙

Community stats

  • 260

    Monthly active users

  • 851

    Posts

  • 6.4K

    Comments