-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notifications doesn't work properly on Android with UnifiedPush #544
Comments
This issue is stale because it has been open for 120 days with no activity. |
This is stilll broken. |
Just found this out as I was starting to use FluffyChat for my multiple accounts |
I tested this by enabling and disabling notifications for each account. each time I do so for one account, I can receive notifications for that account (DMs only -- notifications for group chats never work) but not the other. |
Yes this is also happening with the google play version, which I installed in the hope to fix this, but I only get DM-notifications for the first account. (Both are custom servers) |
If you are really desperate, here is how to register a pusher manually by directly calling the matrix API: First you will need you access token and the url of the matrix api. Api url is easy, take the domain part of your account name (such as "matrix.org") and look at https://matrix.org/.well-known/matrix/client - if they show To get the access tokens, you can either steal them from a web client by inspecting the Authorization headers (any access token of the particular user account should work). I don't know how to get it from Fluffychat, but we could just do a new login on command line: (Be extra careful with that access token, and that curl command containing your password. If you don't know how to avoid leaking them, or accidentally storing them in some cache or history, don't proceed.)
Get both access tokens, let's call them Get the pusher settings from the first account (the one where push notifications work):
From the response take only the object inside
Now send the resulting json object to the second account's api, to set the pusher:
This will effectively clone the exact same UnifiedPush settings from your first account. Now fluffy should be getting the notifications, however it's not 100% ideal, seems like fluffy will show the username of the first account, but at least the notification is there and clicking it opens the correct room in correct account. Of course this is super hacky solution, so only do this if you are willing to solve whatever breaks. So far it seems to have worked for me, YMMV. |
Hi, I second this. I've reinstalled using Google Play (because was not working with Ntfy) and still notifications does not work. I have 2 accounts. Boths with self hosted servers. With Element Notifications does work. |
It's still actual bug. |
Yes, the same is happening to me too currently. |
I have written pr #1443 to fix this. Any feedback and/or testing is welcome :) |
Bug Description
I have 2 accounts registered in FluffyChat, one using the default server
matrix.org
and another one using a custom server. I'm using Ntfy as notification server.When I add both accounts in the app, the first one register the device in the Ntfy server. However, the second one doesn't. So I can receive notifications for the first account but not for the second one.
Steps to Reproduce
Expected Behavior
Each account should register in the unifiedpush server, in order to manage notifications independently.
App Version
1.13.0
Additional Platform Information
Device: OnePlus 8T, OS: Android 13
Additional Context
No response
The text was updated successfully, but these errors were encountered: