diff --git a/demo_sqflite/tool/windows/windows_release_info.md b/demo_sqflite/tool/windows/windows_release_info.md index 54c1089..d3ee66b 100644 --- a/demo_sqflite/tool/windows/windows_release_info.md +++ b/demo_sqflite/tool/windows/windows_release_info.md @@ -20,9 +20,16 @@ Future main() async { } ``` -Once build for windows release, you need to copy the sqlite3.dll to the build folder. You can provide your own or use a prebuilt one +Once build on windows, you need to provide the sqlite3.dll library. + +Flutter users can depend on `sqlite3_flutter_libs` to ship the latest sqlite3 version with their app. When not using Flutter, you need to manually include sqlite3. + +If you don't use `sqlite3_flutter_libs` or want to add use a custom sqlite3.dll, you need to copy the sqlite3.dll to the build folder. You can provide your own or use a prebuilt one available here: https://github.com/tekartik/sqflite/blob/master/sqflite_common_ffi/lib/src/windows/sqlite3.dll +sqfliteFfiInit() provide a way to load the library in debug mode for convenience and should work on release using the default +sqlite3 loading mechanism. If you put the dll somewhere else, you need to override the loading as defined in sqlite3 + Here are the steps you can run from the root of this [demo_sqflite](https://github.com/alextekartik/flutter_app_example/tree/master/demo_sqflite) project: ``` # Get the dependencies