Brave.Rewards.AdsState is returning an invalid response value in the initial profile load
See original GitHub issueDescription
Found while testing https://github.com/brave/brave-core/pull/7566#issuecomment-759483440 Brave.Rewards.AdsState is returning an invalid response value in the initial profile load
Steps to reproduce
- Clean profile 1.20.74
- Click on Continue on the P3A welcome screen
- Skip/close the remaining onboarding flow
- Open brave://local-state file in NTP
Brave.Rewards.AdsState
stats response value is displayed as4
when the wallet is not created and ads are not enabled
Actual result
Brave.Rewards.AdsState
is returning response value 4
(Wallet created, ads enabled, then disabled, while Brave Rewards remains on)
Expected result
Brave.Rewards.AdsState
response value should be 0
on the initial profile load when the wallet is not created
Issue reproduces how often
Easy
Version/Channel Information:
- Can you reproduce this issue with the current Play Store version? NA
- Can you reproduce this issue with the current Play Store Beta version? NA
- Can you reproduce this issue with the current Play Store Nightly version? Yes
Device details
- Install type (ARM, x86): ARM
- Device type (Phone, Tablet, Phablet): Samsung Galaxy J3
- Android version: 5.1.1
Brave version
1.20.74
Website problems only
- Does the issue resolve itself when disabling Brave Shields? NA
- Does the issue resolve itself when disabling Brave Rewards? NA
- Is the issue reproducible on the latest version of Chrome? NA
Additional information
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Brave Rewards incorrect payout for December
Briefly describe your issue: I received significantly less BAT than was stated in my earned amount for December.
Read more >Brave rewards not working and blank tab/section
And when I try to view the Rewards section (brave://rewards) it is a blank white page. The other pages appear fine.
Read more >Brave Complies With Apple iOS Guidelines, Will Continue to ...
Brave is releasing a new version of our iOS browser in order to comply ... viewing of Brave Ads, and in return the...
Read more >Personal Branding for a Second Career - Dummies.com
These tips help you see yourself in a new light and prepare for a new marketplace as you step forward into a different...
Read more >Creative Strategy in Advertising, 9th ed. - NIBM eHub
own insight, and coming up with a strategic plan for creativity. ... cial that first ran during the Academy Awards. ... Asking the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, it’s in P3A onboarding on Android
@emerick The issue is reproducible in version
1.20.74
, this is the 1st version when P3A is landed and tested on Android for the 1st time. As you mentioned issue isn’t reproducible in the current version or GPS version (1.23.76) as the statsBrave.Rewards.AdsState
is been removed from the brave://local-state.1.20.74 - Issue is reproducible
1.23.76 - Issue isn’t reproducible
Based on https://github.com/brave/brave-browser/issues/13546#issuecomment-820440975 and https://github.com/brave/brave-browser/issues/13546#issuecomment-833589929 marking the issue as invalid as it’s not reproducible in current versions