Skip to content

Commit

Permalink
Revert "Emailpass dissapear after we close the wallet and reopen"
Browse files Browse the repository at this point in the history
This reverts commit 11b99e6.
  • Loading branch information
hawkbee1 committed May 17, 2024
1 parent 11b99e6 commit ead6760
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/oidc4vc/lib/src/oidc4vc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1741,13 +1741,11 @@ class OIDC4VC {
return response;
}
}
// temporary deactiviting this caching du to issue with
// flutter_secure_storage on ios #2657
// final expiry =
// DateTime.now().add(const Duration(days: 2)).millisecondsSinceEpoch;
final expiry =
DateTime.now().add(const Duration(days: 2)).millisecondsSinceEpoch;

// final value = {'expiry': expiry, 'data': response.data};
// await secureStorageProvider.set(uri, jsonEncode(value));
final value = {'expiry': expiry, 'data': response.data};
await secureStorageProvider.set(uri, jsonEncode(value));

return response.data;
} on FormatException catch (_) {
Expand Down

0 comments on commit ead6760

Please sign in to comment.