krille-chan / fluffychat

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

Android: Notification provider gets delete randomly #1134

Closed Akselmo closed 1 month ago

Akselmo commented 1 month ago

Bug Description

In notifications -> devices, it should show my ntfy push notification service. And it does during the first startup of the app. But second time it deletes the ntfy push notification service from the list, and I don't get notifications on fluffychat.

Same notification service works in other apps. Also notify.sh works.

Steps to Reproduce

  1. Add ntfy with custom url
  2. Open fluffychat, log in, etc.
  3. Check notification settings, your ntfy is there
  4. Close fluffychat (swipe it out from the recent apps too)
  5. Send a message to your account to test notification
  6. No notification!
  7. Open fluffy chat
  8. Check notification settings, ntfy has disappeared

Expected Behavior

I would expect ntfy work as always. If you use ntfy.sh url it works, but others get deleted.

It does reappear if you dont send a notification and restart the app.

App Version

1.20.0

Additional Platform Information

Android 14

Additional Context

No response

Akselmo commented 1 month ago

Welp, sorry for wasting your time. This was a configuration issue..

In ntfy server.yaml I had to change base-url to start with https instead of http. All works now. I guess it got stuck in redirect loop and things got sad.

Nothing to do with fluffychat but at least if someone has similar problem this hopefully helps.