-
Notifications
You must be signed in to change notification settings - Fork 910
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
Deprecate bap modal android #7817
Conversation
@@ -372,6 +389,67 @@ public void finishNativeInitialization() { | |||
calender.getTimeInMillis()); | |||
} | |||
checkSetDefaultBrowserModal(); | |||
if (mBraveRewardsNativeWorker != null) { | |||
mBraveRewardsNativeWorker.StartProcess(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we shouldn't start it where rewards are not available, x86 devices? The same related to an observer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. updating it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
Verified using LG Nexus 5 with Android 5.1 running 1.22.22 Bravearm.apk Verified test plan from brave/brave-browser#13798 Scenario 1: Non-JP RegionsChecked with US/English Confirmed able to claim staging promotion:
Confirmed BAP popup does not appear.
Scenario 2: JP RegionChecked with Japan/Japanese (unable to check with Japan/English on my device). Note, issue encountered where Japanese translations are missing, logged with brave/brave-browser#14117. Open NTP with zero BAP balance. Confirmed no BAP popup. Confirmed able to claim UGP grant, balance is now non-zero (30 BAP)
Confirmed BAP popup displays when there is a non-zero BAP balance:
Confirmed tapping outside of the BAP popup closes the popup (there is no "x" to close).
Confirmed able to close the BAP alert via "OK". Confirmed when computer date is 2021-03-06 and Brave is opened, the BAP alert is displayed and the BAP popup is not. Confirmed when computer date is 2021-03-13 and Brave is opened, the BAP popup and alert are not displayed.
Encountered the following while testing Scenario 2
|
Verification passed on OnePlus 6T with Android 10 running 1.22.24 x64 Nightly build Scenario 1: Non-JP region
Scenario 2: JP region
|
Resolves brave/brave-browser#13798
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed).Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on.
Test Plan: