Ad blocking notifications.

Discussion in 'Feature Requests (AdGuard for Android)' started by Raymond, Mar 22, 2018.

  1. Raymond

    Raymond New Member

    Joined:
    Apr 30, 2016
    Messages:
    87
    Not sure if you could add notifications when you block any specific ad, or maybe only add it for power users or people who like to know what's getting blocked and when?
     
  2. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905
    @Raymond how exactly do you see this implemented? I mean, there's already a filtering log, but it's not clear to me what do you mean by "notifications for blocking specific ads".
     
  3. Raymond

    Raymond New Member

    Joined:
    Apr 30, 2016
    Messages:
    87
    I'm not sure as I am not a developer I mean.. It pops up a notification when an ad is blocked there is an app that does something similar called blokada I think.. Its just a suggestion that's all.
     
  4. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905
    @Raymond the problem is, depending on wha tapps you use and what websites you viist, there could be dozens and even hundreds of blocked ads and trackers within minutes. If we show a notification every time this happens, you will hardly be able to see anything behind the wall of notifications. This is why I ask if you have something specific on your mind.
     
  5. Raymond

    Raymond New Member

    Joined:
    Apr 30, 2016
    Messages:
    87
    Nah your probably right, just like the aesthetics I guess.. Maybe notifications for each app that you pick, that way it can show what apps are using data in the background could help track down those annoying apps that suck battery maybe, I know you can block apps and that but an added extra.
     
  6. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905
    @Raymond you can go to Apps Management, apps will be already sorted there by used traffic. It is usually not too hard to notice if any app is consuming way more traffic than it should.
     
  7. UMX

    UMX Member

    Joined:
    Sep 20, 2017
    Messages:
    215
    That's easy: Open Filtering Log, choose the magnifying glass on top right, enter (partial) app name - et voila...

    @vasily_bagirov it was cool one could enter (filter for)
    a) the status ("Whitelisted", "Blocked"...")
    b) logical expressions like firefox&Blocked or firefox|chrome
     
    Raymond likes this.
  8. Raymond

    Raymond New Member

    Joined:
    Apr 30, 2016
    Messages:
    87
    Thanks for that, and yeah those sound great :)
     
  9. Lorne Wolf MacKenzie

    Lorne Wolf MacKenzie New Member

    Joined:
    Feb 22, 2018
    Messages:
    32
    What about something like we get on the PC version? It just gives you a # in the corner IF you choose to have it on signifying how many ads were blocked. Depending on the device being used the user themselves can decide if they want to allow a # or not so it doesn't affect display...
     
  10. UMX

    UMX Member

    Joined:
    Sep 20, 2017
    Messages:
    215
    It at least needed the Draw over other apps permission and hid some part of the screen. Android is fullscreen. An ugly way could be to display a plain number in notification bar instead of the logo.
    Also you only got the overall number of blocked ads for all apps you're filtering - not the apps for that single website you just opened (except AG got to get device Admin privileges to know which app is in foreground and do some enhanced maths...)
     
  11. Lorne Wolf MacKenzie

    Lorne Wolf MacKenzie New Member

    Joined:
    Feb 22, 2018
    Messages:
    32
    Given added permission involved then, could it not be possible to allow the user to choose the ugly plain # in the notification bar or none at all for somesomething like what @Raymond had initially thought of?
    I personally would accept a single counter over some gawdy notification or sacrifice of screen size myself knowing that if I get bored in 2-5 minutes I can simply turn it off/ignore it & just pay attention to the screen
     
  12. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905
    There is actually a feature request about this, scheduled for v3.0: https://github.com/AdguardTeam/AdguardForAndroid/issues/1369

    I am not sure about the "blocked requests" count displayed in notification bar. What would it be, total blocked requests this session? Across all apps or any specific one? What to do if there is a 3-digits number that won't fit into the notification icon?
     
  13. UMX

    UMX Member

    Joined:
    Sep 20, 2017
    Messages:
    215
    I personally don't see the use of this except AG used its Usage Permission and displayed the number of blocked items of the foreground app since that started - exactly as AG4FF does it in matters of forground tab.
    3-digit numbers could be solved using colors. White == 0xx, Yellow == 1xx, ... but shouldn't be necessary when only displaying blocks for foreground app. Or by displaying a simple "00" for any number >= 100.
     
    Lorne Wolf MacKenzie likes this.
  14. Lorne Wolf MacKenzie

    Lorne Wolf MacKenzie New Member

    Joined:
    Feb 22, 2018
    Messages:
    32
    I like the idea of there being a Feature Request for this "idea" already.
    To maybe have a notification in the form of a confirmation as to what @Raymond originally enquired about could be more ascetically appealing than 1XX (even if color coded) would be better than trying to cram a running #. To make it work THAT way I am thinking about how on their PC with the help of the Assistant I can crop ads out if they somehow bypass my chosen filter's. Except in this case the notification could be by choice in the form of an additional Notification Bar icon for those who "Select" it.
    My thoughts are with those who may have limited data or just quickly see that yes their selected filter's are indeed working.... Keep it as an option not so much as a new feature maybe
     
    Raymond likes this.
  15. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905
    I am still convinced that this is excessive and extremely vague. We already display the total count of ads blocked this day (in the notification, not on the icon), and we can theoretically optionally display this statistics for the foreground app, not total. We will consider filing a feature request.
     
    Lorne Wolf MacKenzie likes this.