-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Can't enable Ads while offline, from brave://rewards page #19620
Comments
@stephendonner ads by design cannot be enabled unless the user has an internet connection (as ads needs a valid wallet). For me the ads switch is also disabled at brave://settings/rewards |
@emerick your thoughts on the above please? Thanks |
@tmancey I wasn't aware of that. So I take it then that the bug is we're allowing ads to be enabled from brave://settings/rewards? |
@emerick see above screenshot, as "Brave private ads" are not enabled for me when following the above steps. So for me, this is working as expected |
@stephendonner ah so yes I missed the last step where you enabled "Brave private ads" from brave://settings/rewards. @emerick a user should not be able to enable ads unless they have an internet connection. |
OK, got it. |
If we allow users to enable rewards/ads without an internet connection, they will see a lot of -1 errors in the logs. |
Is it me or does this behavior only work on Mac? After disabling WiFi on Windows, Ads is still allowing me to enable/disable itself at will. |
I have seen inconsistencies with Chromium detecting Windows network connections. |
I see how this works now. It seems that you can actually enable Ads when you don't have an Internet connection, it's just that you have to have already created a wallet before disabling your network connection. In my test, I successfully enabled Ads with my network disconnected because I already had a wallet. So there's really no explicit code in Ads to do this, it just sort of happens due to the way things are structured. In fact, when you try to enable Ads with the network disconnected and no wallet the screen flickers because it's trying to turn Ads on, but the wallet creation fails and it goes back to disabled again. It honestly seems to me like we should be more intentional in our handling of this. Having an Ads toggle button that stops working without warning when the Internet isn't connected seems like it will frustrate/confuse users. It also doesn't cover the (probably common) case of a user enabling Rewards/Ads and then losing internet connectivity (unless I'm missing something...) |
Description
Can't enable Ads while offline, from brave://rewards page
Steps to Reproduce
brave://settings
Brave Rewards
in the left paneBrave Private Ads
Skip for now
Continue
Done
brave://rewards
Ads
toOn
Actual result:
Expected result:
Should be able to enable
Ads
, as you can frombrave://settings
, while offlineReproduces how often:
100%
Brave version (brave://version info)
The text was updated successfully, but these errors were encountered: