drstranges / resource_storage_secure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 93.1%Language:Swift 5.5%Language:Kotlin 1.2%Language:Objective-C 0.3%