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:
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.
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
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:Video demonstration of success and fail runs: recordings