Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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 (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. ntfy
  3. Use ntfy for other apps?

Use ntfy for other apps?

Scheduled Pinned Locked Moved ntfy
3 Posts 3 Posters 918 Views 3 Watching
  • 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
      R Offline
      Recliner2042
      wrote on last edited by
      #1

      Can you use ntfy as your push gateway for other cloudron apps like Mattermost and RocketChat?

      DanTheManD 1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        Couldn't find anything in their docs. But this question is better suited upstream at https://github.com/binwiederhier/ntfy?tab=readme-ov-file#chatforum

        1 Reply Last reply
        0
        • girishG girish marked this topic as a regular topic on
        • R Recliner2042

          Can you use ntfy as your push gateway for other cloudron apps like Mattermost and RocketChat?

          DanTheManD Offline
          DanTheManD Offline
          DanTheMan
          wrote on last edited by DanTheMan
          #3

          @Recliner2042
          I use NTFY for push notifications on my Elements install with Android based clients.
          Should work for IOS as well.
          It's running very smooth for more than a year...

          image-1678369653409.png

          Here's what i did to make this work:

          To make use of your ntfy installation, on Android for example, you need two things:

          the ntfy app:
          a UnifiedPush-compatible matrix app
          You need to install the ntfy app on each device on which you want to receive push notifications through your ntfy server. The ntfy app will provide UnifiedPush notifications to any number of UnifiedPush-compatible messaging apps installed on the same device.

          Setting up the ntfy Android app:
          Install the ntfy Android app from F-droid or Google Play.

          In its Settings -> General: Default server, enter your ntfy server URL, such as https://ntfy.DOMAIN.
          In its Settings -> Advanced: Connection protocol, choose WebSockets.

          That is all you need to do in the ntfy app. In particular you do not need to follow any instructions about subscribing to a notification topic as UnifiedPush will do that automatically.

          Setting up a UnifiedPush-compatible matrix app:
          Install any UnifiedPush-enabled matrix app on that same device. The matrix app will learn from the ntfy app that you have configured UnifiedPush on this device, and then it will tell your matrix server to use it.

          Steps needed for specific matrix apps:

          FluffyChat-android:
          Should auto-detect and use it. No manual settings.

          SchildiChat-android:
          enable Settings -> Notifications -> UnifiedPush: Force custom push gateway.
          choose Settings -> Notifications -> UnifiedPush: Re-register push distributor. (For info, a more complex alternative to achieve the same is: delete the relevant unifiedpush registration in ntfy app, force-close SchildiChat, re-open it.)
          verify Settings -> Notifications -> UnifiedPush.

          Element-android:
          choose Settings -> Notifications -> Notification method -> ntfy
          verify Settings -> Troubleshoot -> Troubleshoot notification settings
          If the matrix app asks, "Choose a distributor: FCM Fallback or ntfy", then choose "ntfy".

          If the matrix app doesn't seem to pick it up, try restarting it.

          Cheers 🍻

          1 Reply Last reply
          3
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search