Single Package for All Platforms #973
Replies: 1 comment 1 reply
-
Always including sqlite3_flutter_libs gives a larger binary size (about 2.5Mb on Android) even if you are not using it. It might not matter for you but some people don't need it and are fine with the platform bundled binary using
Let me copy what I just wrote in: #948 Cross platform support is a bit weird, sorry about that. The Desktop support (Linux, Windows) is provided by the Experimental web support is provided by the
Not at this time. Some might prefer As a side note, I find it weird when creating a linux only flutter application, that I would even be more inclined to publish a separate packages for each platform that people have to include Also I'm a freelance developer, maintaining it in my free-time so I don't always have time and |
Beta Was this translation helpful? Give feedback.
-
First of all, this is a fantastic package. Thank you very much for creating and maintaining it!
I'm sorry if this is already explained somewhere and I missed it, but why not have a single
sqflite
package that relies onsqlite3_flutter_libs
and works on all the platforms: macOS, iOS, Android, and Windows?I know you have to use
sqflite_common_ffi
for Windows and set up a database factory, but that's always felt a little confusing to me, and involves extra steps (especially when deploying to Windows in production).Why not have an all-in-one solution for all platforms? I'm genuinely curious. 😊
Beta Was this translation helpful? Give feedback.
All reactions