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

Voyager

5578 readers
40 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
[–] [email protected] 4 points 11 months ago* (last edited 11 months ago) (3 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 = "/";
  }
})();
[–] [email protected] 2 points 11 months ago (2 children)

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

[–] [email protected] 2 points 11 months ago (1 children)

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

[–] [email protected] 2 points 11 months ago