Skip to content

Remove permanent notification when all notifications are paused #224

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

Closed
shadow00 opened this issue Apr 26, 2022 · 9 comments
Closed

Remove permanent notification when all notifications are paused #224

shadow00 opened this issue Apr 26, 2022 · 9 comments
Labels
android-app ntfy Android app question This is a question

Comments

@shadow00
Copy link

Would it be possible to disable the permanent notification when all topic subscriptions have their notifications paused? Either globally or individually (ie. notifications are not globally paused, but all subscribed topics have been individually paused). This would help reduce notification clutter when ntfy is effectively not doing anything.

@binwiederhier
Copy link
Owner

You can manually hide the sticky notification. There are instructions here: https://ntfy.sh/docs/subscribe/phone/#instant-delivery

When you pause a subscription, ntfy will still listen for incoming notifications. It'll just not display them. So ntfy is definitely not idle. That's a misunderstanding on your part.

I hope this helps.

@shadow00
Copy link
Author

Oh, I did not expect the app to keep listening for notifications on paused topics...

What if the app only listened in the background for non-paused topics, and fetched notifications for paused topics only when the user manually opens the app (or maybe even the actual topic)?
That way, you don't even need to start the background service if all topics are paused (in the spirit of "don't do something unless the user explicitly asks for it"), and the app's behaviour matches the user's (or maybe just mine? 😄 ) expectation of "paused" (ie. "stop listening to this topic").

(Just thinking out loud - perhaps going this far isn't really worth the effort?)

@binwiederhier
Copy link
Owner

Let me ask you this: What is your actual concern? Spell it out for me :-D Is it battery life? Or the foreground notification?

  • If it's battery life: It's usually 1% for the entire day for me, so that shouldn't really be an issue anymore
  • If it's the foreground notification, then I linked already how to disable it.

Pausing notifications doesn't mean pausing delivery. Some people (including me) have notifications paused for some topics, because they use it as a log. It was never meant as a means to stop delivery. There was a ticket in which we discussed making the delivery time configurable (instant, every 1min, 5min, 15min, ...), but it was deemed not really necessary (idk what the ticket was, maybe #76).

I don't want 100,000 options in the settings screen. It's already a lot. Right now, I don't really feel like I want to make this configurable.

@binwiederhier binwiederhier added android-app ntfy Android app question This is a question labels Apr 26, 2022
@shadow00
Copy link
Author

In part it was the foregroud notification (which I've now disabled - thanks! I though that disabling it would also disable the foreground service), and part of it is the fact that I don't like to keep stuff running in the background unless necessary - so when I tell an app to pause something, I expect it to actually stop, rather than keep going silently in the background.

I don't really feel like I want to make this configurable

Me neither, it was a question on what the behaviour of "pause" should be. There's currently no way to stop the app from fetching a topic without actually unsubscribing from it, and going through the nuisance of manually setting it up again or restoring it from a backup (along with any other topics that may have been included in said backup).

I think it would be nice to have that ability: pausing a topic = stop asking for new data about it until re-enabled (and not just pausing notifications for it). Having the app stop fetching updates for a paused topic should not break your use case: you could still do quiet logging by setting the log priority to lowest and displaying only notifications with priority low or higher.

@binwiederhier
Copy link
Owner

I think this is a wording problem then. We actually talked about calling it "mute" instead of "pause" in the Discord channel in the context of translations. Maybe "mute" is a better word.

@shadow00
Copy link
Author

I agree, "mute" would be an accurate description of the current behaviour.

@binwiederhier
Copy link
Owner

binwiederhier/ntfy-android@0a44654
binwiederhier/ntfy-android@835ace3

I'm closing this for now. Thank you for reporting!

@Elu43
Copy link

Elu43 commented Jan 2, 2023

You can manually hide the sticky notification. There are instructions here: https://ntfy.sh/docs/subscribe/phone/#instant-delivery

@binwiederhier Hi. It's probably a stupid question, but if you do that, will the notifications still be in "Instant delivery" mode ?

Thank you for your amazing software.

@binwiederhier
Copy link
Owner

@binwiederhier Hi. It's probably a stupid question, but if you do that, will the notifications still be in "Instant delivery" mode ?

Notifications will still be instant yes. It just hides the sticky notification. Sorry for the super late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app ntfy Android app question This is a question
Projects
None yet
Development

No branches or pull requests

3 participants