From 241a75eee282b37d0aa1bb10b2379000285991e1 Mon Sep 17 00:00:00 2001 From: Dmitry Mozer Date: Mon, 16 Oct 2023 18:09:43 +0000 Subject: [PATCH] =?UTF-8?q?[shared=5Fpreferences]=20=D0=A1hange=20getTempo?= =?UTF-8?q?raryDirectory=20to=20getApplicationSupportDirectory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/shared_preferences_aurora_api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared_preferences/shared_preferences_aurora/lib/shared_preferences_aurora_api.dart b/packages/shared_preferences/shared_preferences_aurora/lib/shared_preferences_aurora_api.dart index c43b84f..d79d535 100644 --- a/packages/shared_preferences/shared_preferences_aurora/lib/shared_preferences_aurora_api.dart +++ b/packages/shared_preferences/shared_preferences_aurora/lib/shared_preferences_aurora_api.dart @@ -53,7 +53,7 @@ class SharedPreferencesAuroraApi { /// Get file with data Future _getFile() async { return File(p.join( - (await getTemporaryDirectory()).path, + (await getApplicationSupportDirectory()).path, fileName, )).create(recursive: true); }