9
submitted 10 months ago by Youthless@lemm.ee to c/voyagerapp@lemmy.world

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.

all 5 comments
sorted by: hot top controversial new old
[-] aeharding@lemmy.world 4 points 10 months ago* (last edited 10 months ago)

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 10 months ago

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

[-] aeharding@lemmy.world 2 points 10 months ago

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

[-] Youthless@lemm.ee 2 points 10 months ago
this post was submitted on 23 Nov 2023
9 points (100.0% liked)

Voyager

5484 readers
37 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