Skip to content
0
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Sketchy)
  • No Skin
Collapse

Wandering Adventure Party

phenomlabP

phenomlab@community.nodebb.org

@phenomlab@community.nodebb.org
About
Posts
14
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    dave1904 sorry. It’s not core. You need to install nodebb-plugin-web-push and then you’ll see the section I mentioned previously.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    dave1904 it’s part of core - have a look under /me/web-push. If you use this, then you’ll need to disable ntfy

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian yes

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian Yes, very, and their support isn’t up to much either in the sense of wanting to fix it. I’ve had to change my VPN usage from machine level (which I prefer) to browser level - as long as the internet traffic is secured, that’s good enough for the time being.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian Hmm - still not working for me… 😞

    EDIT - works on my Android phone, but not on my PC - guessing it’s likely security software. EDIT 2 - suspicion confirmed. It’s caused by NordVPN. If running, the push notification doesn’t work - if disabled, it works fine.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian when does 3.10 come out? 😁

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian thanks. I’ll check this later.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    baris thanks. That setting is already on for me.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian Yes, I’ve done that, but can’t seem to make it work.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian I’m using the GIT link you provided to install. Plugin installs fine, but cannot get it to send any notification - even on my mobile device which works fine for NodeBB?

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian Is there a link where we can install the v4 beta version of this plugin? I’d love to test it out over on Sudonix.

    EDIT - NVM - I found the link…

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian understood. I now have this working on my phone at least.

    Edit - and it works perfectly. I get the notification, click it and it uses my already open browser session to display.

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian OK. Still no activity for me though despite updates here. Did you also remove ntfy as that isn’t issuing alerts anymore.

    A bit greedy, but this js would probably work

    if ('serviceWorker' in navigator) {
      caches.keys().then(function(cacheNames) {
        cacheNames.forEach(function(cacheName) {
          caches.delete(cacheName);
        });
      });
    }
    

    Or perhaps this header

    Cache-Control: no-cache,no-store,must-revalidate
    

    Or this modified js

    function async deleteCaches() {
      try {
        const keys = await window.caches.keys();
        await Promise.all(keys.map(key => caches.delete(key)));
      } catch (err) {
        console.log('deleteCache err: ', err);
      }
    }
    
    // run this function on your app load
    function resetCacheForUpdate() {
      if (!localStorage.getItem('cacheReset')) {
        deleteCaches()
          .then(_ => {
            localStorage.setItem('cacheReset', 'yes');
          }) 
      }
    }
    

    Source

    https://jun711.github.io/web/service-worker-cache-busting/

    Link Preview Image
    Service Worker Cache Busting

    Learn how to publish the latest version of your progressive web app.

    favicon

    Jun711 blog (jun711.github.io)

    Uncategorized pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    phenomlabP phenomlab

    julian doesn’t seem to work for me even with cache cleared.

    Uncategorized pushnotificatio nodebb notifications pushapi
  • Login

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post