Android-Guild / Picover

App for documenting memories from Android Guild meetings and parties.
7 stars 0 forks source link

Fix await() not working properly on deleteAccount #408

Open BorysChajdas opened 10 months ago

BorysChajdas commented 10 months ago

In AuthRepository::deleteAccount "await" is throwing the following exception:

kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@7d9f2c8 instead of FirebaseAuthRecentLoginRequiredException when the account cannot be deleted.

The behavior was probably changed in some of the updates of libraries.

Result of this: logout when deleting the account is not working