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
151 stars 148 forks source link

Replace faux state management with event based system #630

Closed jleach closed 1 year ago

jleach commented 1 year ago

We're using the redux/state management as a sudo event system. It would be much better to actually use a proper pub/sub mechanism, preferably one native to node/Hermes. There is the standard nodejs event system which I believe is supported by Hermes and also one built into RN (a little thin on documentation).

This PR needs to include:

wadeking98 commented 1 year ago

resolved by: https://github.com/bcgov/bc-wallet-mobile/pull/907 https://github.com/hyperledger/aries-mobile-agent-react-native/pull/629