Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    web app push notifications

    Support
    3
    4
    158
    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
      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?

      manland 1 Reply Last reply Reply Quote 0
      • manland
        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
        • dobey
          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.

          manland 1 Reply Last reply Reply Quote 1
          • manland
            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