animo / animo-demo

Interactive demo explaining the concepts of self-sovereign identity.
https://demo.animo.id
Apache License 2.0
29 stars 43 forks source link

Invalid store hydration state on mobile #169

Open janrtvld opened 1 year ago

janrtvld commented 1 year ago

There are occurrences when people are getting stuck in the demo during the onboarding. This happens in the connection screen as well as the credential screen.

Sometimes when you refresh the page, the state is not properly rehydrated. The state keeps the old connection id in their preferences, but onboarding flow is restarted. We should check if the store is properly rehydrated after a user refreshes the page.

This primarily happens on mobile, probably because users use the cmd+k menu to reset the state on desktop instead of refreshing the page.