flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

Fix null check error and improve error handling in web implementation

Open BilalRehman08 opened this issue 1 year ago • 0 comments

This PR addresses the issue #761 where a "Null check operator used on a null value" error occurs when accessing the storage through an IP address on a local network.

Changes made:

  • Modified the read method in FlutterSecureStorageWeb to handle potential null values more safely
  • Added null check before attempting to decrypt values
  • Implemented error handling for the decryption process

BilalRehman08 avatar Aug 31 '24 10:08 BilalRehman08