Skip to content
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

New onboarding changes android #26999

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

deeppandya
Copy link
Contributor

@deeppandya deeppandya commented Dec 12, 2024

Resolves brave/brave-browser#42863

Submitter Checklist:

  • I confirm that no security/privacy review is needed and no other type of reviews are needed, or that I have requested them
  • There is a ticket for my issue
  • Used Github auto-closing keywords in the PR description above
  • Wrote a good PR/commit description
  • Squashed any review feedback or "fixup" commits before merge, so that history is a record of what happened in the repo, not your PR
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally:
    • npm run test -- brave_browser_tests, npm run test -- brave_unit_tests wiki
    • npm run presubmit wiki, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed)

Reviewer Checklist:

  • A security review is not needed, or a link to one is included in the PR description
  • New files have MPL-2.0 license header
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

  1. Run brave with clean profile and apply adb shell "echo ' --enable-features=NewAndroidOnboarding' > /data/local/tmp/brave-test-day-zero-expt"
  2. launch the app
  3. observer the onboarding
  4. it should behave as show below in the recording.

VIDEO coming soon

@deeppandya deeppandya added CI/skip-macos-x64 Do not run CI builds for macOS x64 CI/skip-ios Do not run CI builds for iOS CI/skip-windows-x64 Do not run CI builds for Windows x64 unused-CI/skip-linux-x64 Do not run CI builds for Linux x64 CI/skip-macos-arm64 Do not run CI builds for macOS arm64 CI/skip-teamcity Do not run builds in TeamCity labels Dec 12, 2024
@deeppandya deeppandya added this to the 1.75.x - Nightly milestone Dec 12, 2024
@deeppandya deeppandya self-assigned this Dec 12, 2024
@deeppandya deeppandya requested a review from a team as a code owner December 12, 2024 19:01
Copy link
Contributor

@samartnik samartnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Collaborator

@mherrmann mherrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also need changes an about_flags.cc, as in f49e3df#diff-cacbc437964cc20aaaf741b80ecbea5cfce9ca9e67725476f73f14cbab2269fb ?

@deeppandya
Copy link
Contributor Author

Do we also need changes an about_flags.cc, as in f49e3df#diff-cacbc437964cc20aaaf741b80ecbea5cfce9ca9e67725476f73f14cbab2269fb ?

@mherrmann i don't think we need to expose the flag for users as we can control it through griffin.

@deeppandya deeppandya force-pushed the new_onboarding_changes_android branch from c814ac8 to 277eba6 Compare December 17, 2024 17:58
@deeppandya deeppandya force-pushed the new_onboarding_changes_android branch from 277eba6 to 333abe0 Compare December 17, 2024 20:00
Copy link
Collaborator

@DJAndries DJAndries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@deeppandya deeppandya merged commit f4a62aa into master Dec 18, 2024
18 checks passed
@deeppandya deeppandya deleted the new_onboarding_changes_android branch December 18, 2024 16:35
deeppandya added a commit that referenced this pull request Dec 18, 2024
deeppandya added a commit that referenced this pull request Dec 18, 2024
@brave-builds
Copy link
Collaborator

Released in v1.75.110

deeppandya added a commit that referenced this pull request Dec 18, 2024
New onboarding changes android

Resolve rebase issue
@kjozwiak
Copy link
Member

kjozwiak commented Dec 19, 2024

Verification PASSED on Pixel 6 running Android 15 using the following build(s):

Brave | 1.75.110 Chromium: 132.0.6834.46 (Official Build) canary (64-bit)
--- | ---
Revision | ba1e1f0bda21276e78426fcbf9ab0a82d0c3d799
OS | Android 15; Build/AP41.240925.012; 35; REL
  • installed 1.75.110 Chromium: 132.0.6834.46
  • before launching the browser, connected to Linux VM, ran through the following commands via the terminal
kjozwiak@kjozwiak-VMUbuntu:~$ adb shell "echo ' --enable-features=NewAndroidOnboarding' > /data/local/tmp/brave-test-day-zero-expt"
kjozwiak@kjozwiak-VMUbuntu:~$ adb shell "cat /data/local/tmp/brave-test-day-zero-expt"
 --enable-features=NewAndroidOnboarding
kjozwiak@kjozwiak-VMUbuntu:~$
  • ensured that the new onboarding is being used that was implemented/tested (11% retention increase)
  • Improve Android first run experience for better retention #25696
  • ensured that there's no Notification system permission modal when Brave first launches
  • ensured that the default browser system modal appears
  • ensured that the P3A/Data onboarding card is still being displayed

image

screen-20241218-204843.mp4

Also ensured the following so we don't run into issues like brave/brave-browser#42113 & brave/brave-browser#42120:

  • ensured that SNTP are being displayed/appearing without any issues
  • ensured that Rewards icon is still being displayed and the user can opt-in into rewards
  • ensured that Brave News opt-in card is being displayed via NTP
  • ensured that Brave Wallet appears within the Hamburger Menu and is selectable/working without any issues
Example Example Example Example
Screenshot_20241218-212434 Screenshot_20241218-212438 Screenshot_20241218-212442 Screenshot_20241218-213718

Ensured that once adb shell "rm /data/local/tmp/brave-test-day-zero-expt", the old onboarding is being launched/working as per the following:

image

screen-20241218-214135.mp4

kjozwiak pushed a commit that referenced this pull request Dec 19, 2024
Merge pull request #26999 from brave/new_onboarding_changes_android

New onboarding changes android

Resolve rebase issue
kjozwiak pushed a commit that referenced this pull request Dec 19, 2024
Merge pull request #26999 from brave/new_onboarding_changes_android

New onboarding changes android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-ios Do not run CI builds for iOS CI/skip-macos-arm64 Do not run CI builds for macOS arm64 CI/skip-macos-x64 Do not run CI builds for macOS x64 CI/skip-teamcity Do not run builds in TeamCity CI/skip-windows-x64 Do not run CI builds for Windows x64 unused-CI/skip-linux-x64 Do not run CI builds for Linux x64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Update onboarding with new flag
7 participants