Browse Source

[shared_preferences] Сhange getTemporaryDirectory to getApplicationSupportDirectory

merge-requests/33/merge
Dmitry Mozer 1 year ago committed by Vitaliy Zarubin
parent
commit
241a75eee2
  1. 2
      packages/shared_preferences/shared_preferences_aurora/lib/shared_preferences_aurora_api.dart

2
packages/shared_preferences/shared_preferences_aurora/lib/shared_preferences_aurora_api.dart

@ -53,7 +53,7 @@ class SharedPreferencesAuroraApi {
/// Get file with data
Future<File> _getFile() async {
return File(p.join(
(await getTemporaryDirectory()).path,
(await getApplicationSupportDirectory()).path,
fileName,
)).create(recursive: true);
}

Loading…
Cancel
Save