medito-app icon indicating copy to clipboard operation
medito-app copied to clipboard

Fix Retry Mechanism

Open scouech opened this issue 1 year ago • 2 comments

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.

scouech avatar Oct 05 '23 19:10 scouech

@osamaasifoak that has not been done I think?

scouech avatar Oct 19 '23 08:10 scouech

Hey @scouech, the task has been completed thanks.

osamaasifoak avatar Dec 22 '23 12:12 osamaasifoak