krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
916 stars 152 forks source link

ntfy notifications not working on self-hosted ntfy server #853

Open Today20092 opened 5 months ago

Today20092 commented 5 months ago

Bug Description

ntfy self-hosted notifications do not work on fluffy chat.

I used Unified Push's troubleshooting guide , downloaded their app "Up-Example" and I was able to receive notifications with that app using my self-hosted ntfy server.

These are the arguments I have on my ntfy server.yml

On my reverse proxy (Nginx Proxy Manager), I have that exact url forwarded to port 80.

note: "domain' replaced by my actual domain

base-url: "http://ntfy.domain.xyz"
cache-file: "/var/cache/ntfy/cache.db"
attachment-cache-dir: "/var/cache/ntfy/attachments"
behind-proxy: true

image

Steps to Reproduce

  1. Open ntfy
  2. Open fluffy chat
  3. test notification with friend

Expected Behavior

on step 3, the test notifcation should come though and work.

App Version

1.17.1

Additional Platform Information

Samsung S22

Additional Context

In Samsung settings, I have notifications on fluffy chat turned on. When it's on, I receive a notification that I have a message the first time. After the first time, if I leave the app open, the test notifications I recieve say the full information of the messages.

Today20092 commented 5 months ago

I've updated my base url to be "https://" instead of "http://" and I think this will make it work.

Today20092 commented 5 months ago

I've updated my base url to be "https://" instead of "http://" and I think this will make it work.

Notifications seem to be working fine now after this change. The first notification that comes through is the one that says to open your app to read the messages. Is this what's supposed to happen?

It would be nice if there was a notification tester, like the one in element, in fluffy chat.

looowizz commented 4 months ago

For me, ntfy notifications only worked when I was using a ntfy instance on the same domain name as my matrix instance

Today20092 commented 4 months ago

For me, ntfy notifications only worked when I was using a ntfy instance on the same domain name as my matrix instance

I don't have my own matrix instance. I switched back over to regular element for now :( even though I really like fluffychat.

CleoMenezesJr commented 2 months ago

Same here

aca commented 1 month ago

Install ntfy first and install fluffychat from fdroid worked