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
153 stars 149 forks source link

refactor: move agent initialization into a hook, tidy migration check #1308

Closed bryce-mcmath closed 2 weeks ago

bryce-mcmath commented 2 weeks ago

Summary of Changes

1) Move the agent initialization logic from the splash screen into a hook and export said hook 2) Get rid of unnecessary async function wrapper for onboarding useEffect in splash screen 3) Clean up didMigrateToAskar logic and remove unneeded code

Related Issues

N/A

Pull Request Checklist

Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Pro Tip 🤓

PR template adapted from the Python attrs project.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud