openwallet-foundation / bifold-wallet

Aries Mobile Agent React Native - Part of the Aries Bifold effort to provide SSI capabilities in a production ready app.
Apache License 2.0
152 stars 149 forks source link

The History Module overrides persisted preferences before they load #1324

Open timbl-ont opened 4 days ago

timbl-ont commented 4 days ago

Description of problem

The history module saves preferences before they are loaded from storage. The net effect is that all the preferences are reset to default options. For example Biometrics preferences are lost each time the wallet is restarted.

Expected behavior

Persisted preferences are recovered when the wallet is restarted

Steps to reproduce

Screenshots and/or log output

Environment

Build #:

Android Device Model:

iOS Device Model:

Workaround

Disable the history module. Note that only the base history module is in place and does not yet have a UX component.

Severity