AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.32k stars 90 forks source link

No indication that HTTPS filtering should not be enabled for an app #4407

Open ameshkov opened 1 year ago

ameshkov commented 1 year ago

Please answer the following questions for yourself before submitting an issue.

AdGuard version

4.0 Nightly 39

Environment

- OS: Android 13
- Device: Xiaomi phone

Root access

What filters do you have enabled?

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Generally, AdGuard should indicate if there's an issue with an app because of which this or that feature cannot (or should not) be enabled.

Talking about HTTPS filtering, not every app supports it when the certificate is in the User store. In the previous version we indicated that there's an issue by showing a dialog that explained the situation and asked the user again.

In v4.0 we should further improve this approach and use it not just for HTTPS filtering, but for App management (routing), Ad blocking, etc.

Expected Behavior

No response

Screenshots

No response

Additional Information

No response

DandelionSprout commented 6 months ago

Having been moved here by ESurina, despite my issue report visibly not being a duplicate at all:

All of the points in Issue Details above would strongly need to have a root-check and an "Android version"-check, to help determine which apps that can be filtered, and which ones cannot.

An app that can be filtered with root, may very well not be able to be filtered without root, even more so for "HTTPS filtering".

ameshkov commented 6 months ago

I don't get it, the point of this issue is pretty much the same as in yours -- prevent people from accidentally enabling HTTPS filtering when it can cause trouble.

DandelionSprout commented 6 months ago

Hmm, I suppose so. It was just that the points in "Issue Details" above looked to me like they relied on hardcoded blacklists of unsuited apps regardless of root, whereas my idea (mostly?) involved disallowing users from turning on HTTPS Filtering in non-browser apps if the ''AdGuard for Android'' app detected a lack of root.

ameshkov commented 6 months ago

It's just this issue covers more than just the HTTPS filtering, it also covers known issues.