Closed louisinger closed 1 year ago
With manifest v3 refacto, the process of "wallet restoration" is divided into 2 steps:
(1) is done in onbaording/end-of-flow page. (2) is triggered by the Updater service in background-script.ts
onbaording/end-of-flow
Updater
background-script.ts
(1) & (2) should be done in onbarding/end-of-flow context with an appropriate "loading state" showing what's restored by the wallet.
onbarding/end-of-flow
this restore should be also be triggered by deep restore I guess or when loading a Ionio backup.
We decided offilne to show the marina spinner in the onboarding page until the restoration is not done.
Current behavior
With manifest v3 refacto, the process of "wallet restoration" is divided into 2 steps:
(1) is done in
onbaording/end-of-flow
page. (2) is triggered by theUpdater
service inbackground-script.ts
Expected behavior
(1) & (2) should be done in
onbarding/end-of-flow
context with an appropriate "loading state" showing what's restored by the wallet.