Skip to content

Create button on Verification View to fetch age verification signal. - #461

Merged
brnnmrls merged 10 commits into
briannamorales/vwg-flowfrom
briannamorales/useAgeSignal
Aug 7, 2024
Merged

brnnmrls merged 10 commits into
briannamorales/vwg-flowfrom
briannamorales/useAgeSignal

Conversation

@brnnmrls

@brnnmrls brnnmrls commented Jul 20, 2024 •

Copy link
Copy Markdown
Member

The following creates a button that when tapped will start the flow to fetch the age verification signal from the URL. This will use [VerificationLoader fetchAgeVerificationSignal:] in #460 to start the request. The ageVerificationView will utilize this verification signal to determine what the app will show next:

  1. If the verification signal is "AGE_OVER_18_STANDARD", then the app will present a sheet informing the user their age over 18 is verified.
  2. If the verification signal is anything else or does not exist, then the app will present an alert informing the user that their age is not verified over 18 and more information of what's stored in the age verification signal (i.e. "AGE_PENDING").

Video demonstration of success and fail runs: recordings

@brnnmrls brnnmrls self-assigned this Jul 20, 2024
@brnnmrls brnnmrls linked an issue Jul 20, 2024 that may be closed by this pull request
@brnnmrls
brnnmrls marked this pull request as ready for review July 20, 2024 00:52
@brnnmrls
brnnmrls requested a review from mdmathias July 20, 2024 00:52
Base automatically changed from briannamorales/requestAgeSignal to briannamorales/vwg-flow July 23, 2024 22:18
@brnnmrls
brnnmrls requested a review from mdmathias July 24, 2024 00:05
@brnnmrls
brnnmrls requested a review from mdmathias August 1, 2024 21:21

@mdmathias mdmathias left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you attach a short video showing how this flows looks?

…al` so consumers get the raw value when needed.
@brnnmrls

brnnmrls commented Aug 3, 2024

Copy link
Copy Markdown
Member Author

Can you attach a short video showing how this flows looks?

added to description! lmk if this should be more private

@brnnmrls
brnnmrls requested a review from mdmathias August 3, 2024 03:26
@brnnmrls
brnnmrls requested a review from mdmathias August 6, 2024 18:27
@brnnmrls
brnnmrls merged commit c54b610 into briannamorales/vwg-flow Aug 7, 2024
@brnnmrls
brnnmrls deleted the briannamorales/useAgeSignal branch August 7, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create example of VwG flow in existing "DaysUntilBirthday" sample app.

2 participants