Skip to content

4.4.1

@frankmer frankmer tagged this 28 Oct 16:14
This commit refactors the code by introducing a new class called SecureStorageMutexed. This class provides a protected way to access the FlutterSecureStorage, ensuring that calls to read, write, delete, and deleteAll methods are executed serially. The SecurePushRequestRepository class now uses the SecureStorageMutexed class to handle the storage of push request state securely.

The changes include:
- Adding the SecureStorageMutexed class to handle protected access to FlutterSecureStorage.
- Updating the SecurePushRequestRepository class to use the SecureStorageMutexed class for storage operations.
- Removing the protect method from the SecurePushRequestRepository class.

These changes improve the code structure and ensure thread-safe access to the secure storage.
Assets 2
Loading