Closed Leautp closed 1 month ago
Hi,
The documentation of the credential refresh service SDK states:
but in the code of polygonid-flutter-sdk/lib/credential/domain/use_cases/refresh_credential_use_case.dart:91
... if (claimEntity.id == param.credential.id) { await _removeClaimsUseCase.execute( ...
"remove" is called if the ids are equal.
Thus, it duplicates credentials in the wallet in the case of a successful refresh.
@Leautp Thanks for you contribution!
Hi,
The documentation of the credential refresh service SDK states:
but in the code of polygonid-flutter-sdk/lib/credential/domain/use_cases/refresh_credential_use_case.dart:91
... if (claimEntity.id == param.credential.id) { await _removeClaimsUseCase.execute( ...
"remove" is called if the ids are equal.
Thus, it duplicates credentials in the wallet in the case of a successful refresh.