Closed mpierog closed 2 years ago
Hi @mpierog , did you have any solutions for this case? I am looking for workaround for this issue. Please help me. Thanks!
If you look at the get_storage api here:
https://pub.dev/documentation/get_storage/latest/get_storage/GetStorage-class.html https://pub.dev/documentation/get_storage/latest/get_storage/GetStorage-class.html
the constructor for GetStorage is
GetStorage https://pub.dev/documentation/get_storage/latest/get_storage/GetStorage/GetStorage.html([String https://api.dart.dev/stable/2.15.1/dart-core/String-class.html container = 'GetStorage', String https://api.dart.dev/stable/2.15.1/dart-core/String-class.html? path, Map https://api.dart.dev/stable/2.15.1/dart-core/Map-class.html<String https://api.dart.dev/stable/2.15.1/dart-core/String-class.html, dynamic>? initialData])
So u could do:
GetStorage g = GetStorage(‘MyStorage’, path: ‘path to folder’);
I have since moved on to Hive for local storage. Good luck :)
On Dec 14, 2021, at 3:53 AM, nhatbui23988 @.***> wrote:
Hi @mpierog https://github.com/mpierog , did you have any solutions for this case? I am looking for workaround for this issue. Please help me. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jonataslaw/get_storage/issues/77#issuecomment-993250736, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP3POXLG2LDOJZGFEA5RE3UQ3ZYPANCNFSM5DROZHVQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I use Getstorage in macos and it works great, however the location of the box files is always your Documents folder. This is the case for any macos app using Getstorage. Anyway to change this file location?