this post was submitted on 23 Nov 2023
9 points (100.0% liked)

Voyager

5407 readers
35 users here now

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

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

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

Sponsor development! πŸ‘‡

Number of sponsors badge

πŸ’™

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] aeharding@lemmy.world 4 points 9 months ago* (last edited 9 months ago) (1 children)

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 = "/";
  }
})();
[–] Youthless@lemm.ee 2 points 9 months ago (1 children)

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

[–] aeharding@lemmy.world 2 points 8 months ago (1 children)

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

[–] Youthless@lemm.ee 2 points 8 months ago