UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    web app push notifications

    Scheduled Pinned Locked Moved Support
    4 Posts 3 Posters 425 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • R Offline
        rocket2nfinity
        last edited by

        Can web apps push notifications to the Navbar?

        Latest I could find was from Cannonical in 2015 saying support is coming. Did it ever arrive?

        manlandM 1 Reply Last reply Reply Quote 0
        • manlandM Offline
          manland @rocket2nfinity
          last edited by

          @rocket2nfinity Unfortunately not today... But In a near future I hope! This is an issue I open for morph-browser https://github.com/ubports/morph-browser/issues/218

          1 Reply Last reply Reply Quote 1
          • dobeyD Offline
            dobey
            last edited by

            Even with web notifications implemented in a way that they get added to the notifications menu, they will only happen if the app is running.

            If you want actual push notifications, then support for the Ubuntu push server will need to be added to the web site in question.

            Instead, it may also be possible to write a "plug-in" for account-polld which queries the server for new notifications and presents them to the user. This would be an executable which gets shipped with the app, and is run by the system every so often, and is killed after a set time limit. If the service for the webapp provides a method of getting this info, it could be done reasonably this way.

            manlandM 1 Reply Last reply Reply Quote 1
            • manlandM Offline
              manland @dobey
              last edited by

              @dobey Yes it's right there is no web-worker today. But it's a long day... and during this time sync-plugins-social do the job 😉 As dicussed here

              1 Reply Last reply Reply Quote 0
              • First post
                Last post