Skip to content
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

UnifiedPush notifications don't work at all #2623

Closed
blacklight opened this issue Jul 25, 2022 · 13 comments
Closed

UnifiedPush notifications don't work at all #2623

blacklight opened this issue Jul 25, 2022 · 13 comments

Comments

@blacklight
Copy link

I have installed the latest version of Tusky. I logged out and logged in again, as suggested by the instructions for UnifiedPush support. I saw a prompt that asked me whether I wanted to use ntfy or NextPush for notifications, and I opted for ntfy. Oddly, that screen is only shown once. Once you select an option, there's no way in the settings to change it.

I see the ntfy channel created in the ntfy app by Tusky, but no notifications are forwarded to that channel. When I receive a notification, my phone notifies me only when I open the app.

@connyduck
Copy link
Collaborator

Does ntfy work with other apps? Is it removed from battery optimizations?

@blacklight
Copy link
Author

@connyduck ntfy works (meaning that the device can receive real-time notifications) when I push notifications via the websocket API. ntfy has also the "Don't optimize" battery option ticket - does Tusky need to have battery optimizations disabled as well?

@binarydad
Copy link

I'm having this issue as well. I feel like ever since the version 19 RTM came out it seemed to have stopped working, mostly... I do, rarely, receive a notification from Tusky/NTFY, but it's not often when it otherwise should send a notification.

In my case, I also u se NTFY for Element/Matrix, which seems to work fine.

Today I'm going to load up the UP URL in my browser and see if there's a disconnect between my Mastodon instance -> NTFY server, or from NTFY -> Tusky app.

@binarydad
Copy link

binarydad commented Jul 28, 2022

As a test, I opened the ntfy interface in a browser and subscribed to the same topic as the one on my android phone. I waited for a reply and noticed that the notifications populated instantly inside the browser, but nothing showed up on the phone, even after the Tusky app was recently opened.

Seems like a disconnect between the ntfy app and Tusky. And as mentioned, Element (which is also using ntfy on the same android device), works just fine for notifications.

Hope this helps. Let me know what else I can provide or troubleshoot. Thanks!

image

@binarydad
Copy link

I did a reinstall of the app and so far it's working, so I'm keeping an eye on it. I'll comment later if it's still working fine.

@blacklight, have you tried reinstalling the app?

@blacklight
Copy link
Author

@binarydad it's also working for me now. I did two things:

  • Reinstalled the app
  • Ticked the "Don't Optimize" option in the battery section

I'm not sure which one did the trick though.

@binarydad
Copy link

Same. I too did both of those steps. All good now.

@motoridersd
Copy link

How do I know which notification service I am using? I get push notifications with Tusky, but they tend to be very delayed. 20-30 minutes. I am testing other Mastodon Android apps, and the ones using FCM get notifications much faster (assuming Tooot and Fedilab use Google's code vs a pull). I understand the choice to not use Google code for the notifications, so I'm wondering if I should be getting notifications as fast as the other apps that are probably using FCM or are Tusky's always going to be slower?

@karmanyaahm
Copy link
Contributor

@motoridersd If you install a UnifiedPush distributor, you can get instant notifications.

@roughnecks
Copy link

Sorry but I didn't want to open a new issue for this problem..

I just installed Tusky from F-Droid and I'm already using ntfy with Schildichat, but I don't see any option in Tusky to choose push notifications provider. I also logged out and back in as suggested by @blacklight to no avail.. So how do I set this up?

Thanks

@karmanyaahm
Copy link
Contributor

karmanyaahm commented Feb 3, 2023

Does Tusky show up in the ntfy topics list? If so, it's registered. Tusky automatically registers and doesn't have any UnifiedPush-specific settings.

@roughnecks
Copy link

roughnecks commented Feb 3, 2023 via email

@Tak Tak closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
@teohhanhui
Copy link

There should be a way to troubleshoot notifications / diagnose notification issues like what Element Android has (and actionable next steps like re-registering when it does detect problems). Otherwise the user is left wondering whether their notifications still work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants