question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Brave.Rewards.AdsState is returning an invalid response value in the initial profile load

See original GitHub issue

Description

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

  1. Clean profile 1.20.74
  2. Click on Continue on the P3A welcome screen
  3. Skip/close the remaining onboarding flow
  4. Open brave://local-state file in NTP
  5. Brave.Rewards.AdsState stats response value is displayed as 4 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

cc: @brave/legacy_qa @SergeyZhukovsky @bsclifton

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
GeetaSarvadnyacommented, May 6, 2021

@GeetaSarvadnya Oh wait, I didn’t realize that this is for Android. Probably a screen in the onboarding?

Yes, it’s in P3A onboarding on Android image

@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 stats Brave.Rewards.AdsState is been removed from the brave://local-state.

1.20.74 - Issue is reproducible image

1.23.76 - Issue isn’t reproducible image

0reactions
GeetaSarvadnyacommented, May 6, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found