Persist SIWE backup secrets to SQLite after succesfull registration process
Summary:
This differential saves generated backup secrets in registration context which then persists it into SQLite when the regiatration is complete and database is
correctly re-created.
Test Plan:
- Add the following gist: https://gist.github.com/marcinwasowicz/dfd0f0c213e662d9c91289a5ee083820. It creates a button that enables to print siwe backup secrets to the console.
- Execute registration flow.
- Tap the button. See siwe backup secrets in the console.
- Log out. Don't kill the app!
- Log in to the same SIWE account.
- Tap the button ensure that there is no backup secret in the db.
Reviewers: tomek, inka, atul, ashoat
Reviewed By: atul, ashoat
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11638