brave/brave-rewards-ios

Rewards Onboarding UI

Closed this issue · 5 comments

Description

Add Brave Rewards to the onboarding experience for iOS.
Product spec: https://docs.google.com/document/d/15ouI4hsKOduE3IrB-RkvPaPww_iqnc6MLmvSqoCu6Os/edit#

Designs

iPhone

The Shields screen now has a "Continue" button that takes the user to the next screen in onboarding.

ios 2
ios 3

The "Agree" button is disabled until the user checks the Terms checkbox.

ios 4

Tapping on the link to Terms displays our terms page in webview.

ios 5 - terms

The "Agree" button is enabled once the checkbox is checked.

ios 5

After the user taps "Agree", trigger ads onboarding with a count down timer.
Gradient values:
start #4F30AB
middle #FF1893
end #FA7250

ios 6

Show our custom notification (product spec: https://docs.google.com/document/d/1l_jXRt5o_RKBFiv3y3RHivrt5xGxSpzua-0OjTPc5I4/edit?ts=5d5d7079)

ios 7

If the user taps the notification, show https://brave.com/my-first-ad/

ios 10

If the user ignores the notification, show a start browsing screen.

ios 8

iPad

iPad designs are identical to iPhone, but displayed as a card on top of a gradient background.

12 9″ iPad Pro - screen 2
12 9″ iPad Pro - screen 3
12 9″ iPad Pro - screen 4
12 9″ iPad Pro - screen 5
12 9″ iPad Pro - screen 6
12 9″ iPad Pro - screen 8

Dark Mode

dark mode 1
dark mode 3
dark mode 4
dark mode 5

Animated transitions between screens

When the white panel changes heights between screens, the height change and content should be animated for a smooth transition, for example (this is on Android; in iOS we would maintain the rounded corners of the white panel):
welcome transition out

slide transition

higher res video versions:
general transition.zip

Animation breakdown: the content in the white panel fades out: start Opacity: 1, end Opacity: 1, duration 0.2s. The white bg resizes starting at T=0.1s to the appropriate height for the next screen, duration 0.3s. The illustration and new text content fades in starting at T=0.3s: start Opacity: 0, end Opacity: 1, duration: 0.4s.

User Flows

New user, In ad region

Show search engine selection, Brave Shields explanation, Brave Rewards opt-in with Terms of Service, and ad onboarding.

user flow - ios onboarding ads available

New user, Out of ad region

Show search engine selection, Brave Shields explanation, and Brave Rewards opt-in with Terms of Service.

user flow - ios onboarding ads unavailable

For this user segment, the text on the Brave Rewards should not mention ads:

Support your favorite websites and creators based on your attention.

ios ads unavailable

Existing user, Brave Rewards OFF

Show Brave Rewards opt-in with Terms of Service, and ad onboarding.

user flow - ios onboarding BR off

Existing user, Brave Rewards ON

Show ads opt-in with ad onboarding.

user flow - ios onboarding BR on

ios br on

Assets

png assets.zip

Lottie assets:

Abstract link for more CSS and plain text: https://share.goabstract.com/382f3231-c578-468e-8be6-fca295b7fd79?sha=65d9fd8a0b273c12a47465c32e75c865c914954b

Blocked as we should wait for phase 1 in iOS 13 build otherwise, there could be possible rebasing. If we run low on tickets or another developer is available then this work could be started

Blocked requiring phase 2 designs

Spec: User Onboarding iOS - Phase 2 on GDrive

@karenkliu can link the final designs to this ticket.

@kylehickinson @Brandon-T design specs and Lottie files added!

Blocked as need to discuss flow if ads are not available in a specific region