From aac44e43aa5bbe22d8e30362b894ba28c4e48785 Mon Sep 17 00:00:00 2001 From: Omar Hatem Date: Fri, 26 Apr 2024 05:54:03 +0300 Subject: [PATCH] just documenting the issue [skip ci] --- lib/core/secure_storage.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/secure_storage.dart b/lib/core/secure_storage.dart index 662c815e5..5afb36d29 100644 --- a/lib/core/secure_storage.dart +++ b/lib/core/secure_storage.dart @@ -30,6 +30,7 @@ Future readSecureStorage(FlutterSecureStorage secureStorage, String key Future writeSecureStorage(FlutterSecureStorage secureStorage, {required String key, required String value}) async { // delete the value before writing on macOS because of a weird bug + // https://github.com/mogol/flutter_secure_storage/issues/581 if (Platform.isMacOS) { await secureStorage.delete(key: key); }