medito-app
medito-app copied to clipboard
Fix Retry Mechanism
When the an error is thrown during initialisation, the app tries to retry but an error occurs.
To reproduce this, throw an error in appInitializationProvider
(e.g. alter the INIT_TOKEN and rerun the app)
Unhandled Exception: 'package:riverpod/src/framework/element.dart': Failed assertion: line 476 pos 11: '_debugCurrentlyBuildingElement == null || _debugCurrentlyBuildingElement == this': Providers are not allowed to modify other providers during their initialization.
Please also write unit tests to test these scenarios.
@osamaasifoak that has not been done I think?
Hey @scouech, the task has been completed thanks.