Add runtime config support to email in-context signup webview #2621
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/0/414235014887631/1206881234663275/f
Tech Design URL:
CC:
Description:
Implements the required getRuntimeConfiguration for autofill script for the in-context email webview. Also adds Autofill debug menu option to reset the InstallDate to 0
Steps to test this PR:
If signed in to Email Protection, sign out first (Settings > Email Protection > scroll down to
Sign Out
)Visit https://fill.dev/form/registration-email and tap the grey dax icon to trigger the in-context signup flow.
Note: if you don't see the grey dax icon in the email field, go to Settings > All debug options > Autofill Settings and tap the two
Reset
rows in theEmail Protection
and reload the webpageFollow the sign up flow to create a new duck address and confirm it completes successfully, prompting to fill your newly created address or a private duck address like so:
Sign out of email protection and tap the
Reset Email Protection InContext Signup Prompt
in debug settingsReload the webpage and tap the grey duck icon again
This time follow the sign-in flow and confirm it completes successfully also
Copy Testing:
’
rather than'
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
Internal references:
Software Engineering Expectations
Technical Design Template