• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 432 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 22 Apr 2020, 22:25

      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?

      M 1 Reply Last reply 22 Apr 2020, 22:50 Reply Quote 0
      • M Offline
        manland @rocket2nfinity
        last edited by 22 Apr 2020, 22:50

        @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
        • D Offline
          dobey
          last edited by 23 Apr 2020, 00:24

          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.

          M 1 Reply Last reply 23 Apr 2020, 06:47 Reply Quote 1
          • M Offline
            manland @dobey
            last edited by 23 Apr 2020, 06:47

            @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
            3 out of 4
            • First post
              3/4
              Last post