Secure Resource Storage

pub package

Simple implementation of secure persistent resource storage for cached_resource package, based on flutter_secure_storage.

Components

  1. FlutterSecureResourceStorage: secure persistent resource storage based on flutter_secure_storage.
  2. FlutterSecureResourceStorageProvider: factory to use for configuration of cached_resource.

Note: usage on Android

Note: On Android if custom storage configuration is not provided for FlutterSecureResourceStorage then all the data are stored using EncryptedSharedPreferences in a single file with name resource_storage (See kResourceStorageEncryptedSharedPrefsName constant). As by default Android backups data on Google Drive, it can cause exception java.security.InvalidKeyException:Failed to unwrap key. You need to:

Libraries

resource_storage_secure
Secure persistent resource storage implementation based on flutter_secure_storage plugin. Stores a value as JSON string.