-
Notifications
You must be signed in to change notification settings - Fork 210
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
Blokada is closed all the time on Samsung S9 when Notifications are set to No
#613
Comments
Hello there, |
Turn off "Watchdog". If you want to keep the VPN running all the time, you don't need that. |
No
Wouldn't the watchdog kill messengers as well if it would be faulty? 🤔
No, I didn't |
Can you elaborate on it? I'm afraid I don't get what you mean. A messenger application also has notifications, if you check, otherwise you won't be notified about new messages. You don't only receive them because somebody wrote you, but because that keeps the service up and running in the background. Notifications increases the process' priority, what will ensure it isn't killed by the system. |
Ah sorry, this is probably caused because the term notification is misleading in the case of Blokada. Messengers (like the mentioned ones in the first comment) don't have a permanent notification. They only show notifications when a message arrives but they are staying in background anyway. And I guess it's obvious that the notification drawer is not meant for many entries but it seems that Blokada uses two full entries if I want to have it running. But I presume that it should stay running without having notifications activated anyway, right? Or is this not intended? |
Tap on the Notifications line in Blokada, there cap on SETTINGS. Disable what you don't need. For example, I activated 'Keep alive' in Blokada, but disabled the notification for that in the system. |
Okay, I see, so you worked around the mentioned bug. But then again it's pretty useless if Blokada is closed anyway if |
Why do you think it's a bug? The system will always have higher priority and the Notification options are there to increase Blokada's process priority to prevent being killed. |
Because of those two reasons:
|
For the 1st: no. The car won't drive if you don't pour some gasoline into it. Yes, the application will be killed if you don't enable notifications because the Android system is designed to kill/hibernate everything that has low priority and doesn't operate with notifications. |
This is exactly my point: why having an option "Remove all gasoline" in the settings then? 😉
I wholeheartedly agree! Why offering an option if that will break the whole user experience?
It's not working in my case. It's locked and if I try to swipe left/right it just shows the options of configuring notifications. I can't just swipe it away. To summarize:
|
So we are talking about a new default configuration proposition, and not about a bug ;) Asking for less permission ensures the user has better experience as we are talking about a security aware applications, furthermore, the current default configuration works on a big number of devices and Android versions.
I must check and validate it. |
I few versions ago, with 4.1 or around that, the 'Keep alive' was enabled by default. Users complained why it is so, why they must have a constant notification, seeing that Blokada is active. This change was reverted but to the high number of user requests. |
I also mentioned that there should rather be a warning informs about possible malfunctioning of Blokada if someone want's to disable the notification (last question of 1.). And proposal 2 is unanswered as well so far. 😉 |
I noticed this before, too, but it seems 4.5.1 fixed it somehow, as I haven't experienced it since. |
So it turned out that this problem reappeared even when notifications were activated. I tried using personalDNSfilter and DNS66 in the last weeks and the problem doesn't appear on those alternatives so I simply switched. Therefore I will simply close this issue because it seems that I was the only user who ran into this issue anyway. Thank you for your support! 🙏 |
Blokada ran perfectly fine since 547 was fixed but on some point in the last months (I guess it was December or November) it began being closed every now and then. The notification bar disappears and when I open Blokada it will reestablish the connection again.
It's not the battery optimisation thingy (because I excluded Blokada from battery optimisation).
I don't think that Blokada is killing itself but I guess it's not prohibiting others from killing it. 😉
I also have the feeling that it might be related to switching networks (i.e. between wifi & 4G) or because I'm occasionally setting it into flight mode. But I'm not sure about that. Maybe it's unrelated to that.
Steps to reproduce
Expected behaviour
Blokada would keep running. 👍
Actual behaviour
Blokada closes. 👎
Configuration
4.4.3 (android-28 community release arm64-v8a samsung-starlte touch api compatible)
4.6.4 (android-29 community release arm64-v8a samsung-starlte touch api compatible)
4.7.3 (android-29 community release arm64-v8a samsung-gts6lwifi touch api compatible)
Samsung S9
&Samsung Galaxy Tab S6
9
/One UI 1.0
/ Kernel4.9.59-16947752
10
/One UI 2.1
/ Kernel4.9.118-18847185
10
/One UI 2.1
/ Kernel4.14.117-18571899
Questions
How long have you been using Blokada?
Since a long time but I'm still struggling why this is relevant. Maybe you want to add a comment to the issue template that explains how and why this is relevant. This would help to answer this question better, I guess.
How long time ago has the problem started to happen?
Not too long ago. I would say since two months at maximum. But I didn't had a look on it exactly.
How often does this problem happen to you?
All the time.
Settings
Notifications:
No
Start on boot:
Yes
Settings location:
Internal Storage
Background animation:
No
Keep alive:
Yes
Watchdog:
Yes
Aggressive wakeup:
Yes
Without VPN set to
always-on
it becomes this:When VPN is set to
always-on
it simply leads to this:PS: there were similar issues on Blokada 2.2.2, 3.6 (1, 2), 3.7 (1, 2, 3), 4.3.4.
PPS: Please note that other applications are staying in background perfectly fine on the same device (i.e. messengers like Conversations or Threema). Furthermore alternative Ad blockers like personalDNSfilter or DNS66 doesn't cause this problem on my device.
The text was updated successfully, but these errors were encountered: