From 24f77bafa1fd5ef48ec7d3128d8009d7e8268df2 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 29 Mar 2021 22:43:37 +0200 Subject: [PATCH] Fix link to path_provider --- docs/pages/docs/Other engines/vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/docs/Other engines/vm.md b/docs/pages/docs/Other engines/vm.md index 7e9149f8..8a3bfd86 100644 --- a/docs/pages/docs/Other engines/vm.md +++ b/docs/pages/docs/Other engines/vm.md @@ -73,7 +73,7 @@ LazyDatabase(() async { ``` Note: If you haven't shipped a version with `moor_flutter` to your users yet, you can drop the dependency -on `sqflite`. Instead, you can use `path_provider` which [works on Desktop](https://github.com/google/flutter-desktop-embedding/tree/master/plugins/flutter_plugins). +on `sqflite`. Instead, you can use `path_provider` which [works on Desktop](https://github.com/flutter/plugins/tree/master/packages/path_provider). Please be aware that `FlutterQueryExecutor.inDatabaseFolder` might yield a different folder than `path_provider` on Android. This can cause data loss if you've already shipped a version using `moor_flutter`. In that case, using `getDatabasePath` from sqflite is the suggested solution.