Ad notifications sometimes presented to user when Ads toggle is off - follow up to 2972 #3408
Labels
bug
feature/ads
feature/rewards
priority/P1
A very extremely bad problem. We might push a hotfix for it.
QA/Test-Plan-Specified
QA/Yes
release/blocking
Milestone
Description
Follow up to #2972
Found an additional scenario when Ads are presented to the user when Ads toggle is off in the UI.
If you toggle Rewards off, close and relaunch Brave, then toggle Rewards on, UI will show Ads as off, but in fact, Ads Service is running (you are able to see Ads Service messages in terminal if you've launched with the correct flags) and you will be presented with Ad notifications.
Seems as though there are two problems here:
Steps to Reproduce
--enable-logging=stderr --vmodule=brave_ads=3 --brave-ads-debug
Actual result:
Ads toggle is off in UI, but if you visit pages you will see AdsService messages in the terminal. After a bit of browsing you will also start to get Ad notifications.
Expected result:
Since Ads were on before Rewards was disabled, I'd expect toggling Rewards on to turn on Ads. However, if Ads toggle is off in the UI, then I should not be presented with Ad notifications.
Reproduces how often:
easily
Brave version (brave://version info)
Reproducible on current release: no, Ads are not available on 0.59.x
Website problems only:
Additional Information
cc @brave/legacy_qa
The text was updated successfully, but these errors were encountered: