Viewing version 2.4.5. Open the latest package page.
sqflite_android
2.4.5Android flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.
Readme
sqflite_android
The Android implementation of the sqflite plugin.
Changelog
2.4.5
- Fix every later call hanging after a failed COMMIT or ROLLBACK (e.g. a deferred foreign key violation at commit): the transaction is ended, and rolled back if SQLite left it open.
- Fix an open lost (hang, or crash with several worker threads) when it follows a close that was not awaited.
- Use
propName = valueassignments inandroid/build.gradle(the space syntax is deprecated in Gradle 9 and removed in Gradle 10, #1217). - Fix statements committed outside of any transaction after SQLite rolled back the transaction
by itself (
ConflictAlgorithm.rollback,RAISE(ROLLBACK)...): the transaction is now ended and the client marks it closed (requires sqflite_platform_interface 2.4.3). executesupports aPRAGMAreturning a row (e.g.PRAGMA journal_mode=WAL, #929, #1176).
2.4.4+1
- Add
sqflite-android-setupagent skill inskills/, installable withdart run skills@ get
2.4.3
- Updates minimum supported SDK version to Flutter 3.44 / Dart 3.12.
- Migrates to built-in Kotlin.
2.4.2+3
- Use compile statement for insert/update and delete to avoid invalid result in wal mode
- Requires dart 3.10
2.4.2+2
- Requires compile SDK 36
- Requires dart 3.9
2.4.1
- Requires dart 3.7
2.4.0
- Initial implementation from sqflite v2.3.3+2
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'sqflite_android:2.4.5'pubspec.yaml
name: sqflite_android
repository: https://github.com/tekartik/sqflite/tree/master/sqflite_android
issue_tracker: https://github.com/tekartik/sqflite/issues
description: Android flutter plugin for SQLite, a self-contained, high-reliability,
embedded, SQL database engine.
version: 2.4.5
# This package supports all platforms listed below.
platforms:
android:
topics:
- sql
- database
funding:
- https://github.com/sponsors/alextekartik
environment:
sdk: ^3.12.0
# requires AGP 9.0
flutter: ">=3.44.0"
flutter:
plugin:
platforms:
android:
package: com.tekartik.sqflite
pluginClass: SqflitePlugin
dartPluginClass: SqfliteAndroid
dependencies:
flutter:
sdk: flutter
sqflite_common: ">=2.5.9 <4.0.0"
path: ">=1.8.0 <3.0.0"
sqflite_platform_interface: ">=2.4.3 <4.0.0"
dev_dependencies:
flutter_lints: ">=5.0.0"
process_run: ">=0.12.0"
http: ">=0.13.0"
flutter_test:
sdk: flutter
test_api: ">=0.2.19"
pub_semver: ">=2.0.0"
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 2.4.0-0 | On demand | Download | c3cd995b…6af002 |
| 2.4.0-1 | On demand | Download | 11821baf…f9dc56 |
| 2.4.0 | On demand | Download | 78f489aa…dd9ee3 |
| 2.4.1 | On demand | Download | 2b3070c5…a1701b |
| 2.4.2-1 | On demand | Download | 08118b0a…05de0f |
| 2.4.2 | On demand | Download | dc76402d…cb8fdd |
| 2.4.2+1 | On demand | Download | 38547a3d…056eca |
| 2.4.2+2 | On demand | Download | ecd68450…bfea88 |
| 2.4.2+3 | On demand | Download | 881e28ef…3dec40 |
| 2.4.3 | On demand | Download | d0548f9d…01983b |
| 2.4.4 | On demand | Download | 805b27c6…bb5421 |
| 2.4.4+1 | On demand | Download | e4f659c1…68a835 |
| 2.4.5 | Cached · Upstream SHA-256 matched | Download | 3986f4cb…a0bdd4 |
Dependencies
flutter {
"sdk": "flutter"
}
path "\u003e=1.8.0 \u003c3.0.0"
sqflite_common "\u003e=2.5.9 \u003c4.0.0"
sqflite_platform_interface "\u003e=2.4.3 \u003c4.0.0"