sqflite_darwin

v2.4.2

iOS/MacOS flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.

Архив пакета: https://pubdev.letsnova.ru/api/archives/sqflite_darwin/2.4.2.tar.gz

Установкаdart pub add sqflite_darwin

README

Darwin implementation of sqflite plugin.

Initial implementation was using a subset of FMDB available through Cocoapods. FMDB cocoapod FMDB version has been stuck at 2.7.5 for a long time and my iOS/MacOS is limited to propose a proper PR to FMDB and take ownership of the FMDB pod.

As of sqflite 2.3.2-1 (2024/01/27), I made the decision to fork/copy FMDB and use it directly in sqflite assuming FMDB_LICENSE MIT license allows it.

Only what is necessary has been copied and renamed to avoid name collision (FMDB -> SqfliteDarwin).

flutter clean and deleting the Podfile.lock is required to force the update of the FMDB dependency.

I hope everyone is OK with this decision. I'm open to any suggestion or bug report if I missed something.

История изменений

2.4.2

  • Requires dart 3.7

2.4.1+1

  • Allow creating unprotected folder in iOS (issue #924)
    • Fix delete database to properly delete all related files (-shm, -wal, -journal)

2.4.1-1

  • Add Swift Package Manager support

2.4.0-0

  • Initial implementation from sqflite v2.3.3+2