native_datastore 1.1.2
native_datastore: ^1.1.2 copied to clipboard
A modern Flutter plugin for persistent key-value storage. Uses Android Jetpack DataStore on Android and UserDefaults on iOS. A type-safe, async-first alternative to shared_preferences.
1.1.2 #
- Released on 2026-04-06.
1.1.1 #
- Released on 2026-04-06.
1.1.0 #
- Released on 2026-04-06.
1.1.0 #
- Added 3 new data types:
Uint8List-- binary data viagetBytes()/setBytes()(Base64 on Android, native Data on iOS).DateTime-- date/time viagetDateTime()/setDateTime()(stored as UTC milliseconds since epoch).Map<String, dynamic>-- JSON maps viagetMap()/setMap()(stored as JSON string).
- Updated
remove(),containsKey(),getAll(), andgetKeys()to support new types. - Added "Set All Types" button in example app to demo all 8 data types.
- Updated README with supported types table, error handling guide, null handling examples, and storage details.
- Expanded unit tests from 57 to 78 covering all new types.
- Expanded integration tests to cover all 8 types including null returns.
- Breaking (iOS): Changed UserDefaults key prefix from
in.sudhi.native_datastore.tonative_datastore.-- removes personal domain from a public library. Existing iOS data stored with the old prefix will not be accessible after this update.
1.0.2 #
- Released on 2026-04-03.
1.0.0 #
- Released on 2026-04-03.
0.0.1 #
- Initial release with support for Android (Jetpack DataStore) and iOS (UserDefaults).
- Type-safe key-value storage: String, int, double, bool, and List
- Full CRUD operations: get, set, remove, clear, getAll, getKeys, containsKey.
- Built with Pigeon for type-safe platform communication.