-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use app documents directory to store the user token if possible #88
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is perfect! Nice job!
By the way, if in the future isWeb
is used in more than one place, we could refactor the import logic into another file. However, for now, it's good as it is. :)
What's preventing this PR from being merged? Also, I think it should close mine as soon as this is merged as it aims to fix the same issue. |
@nerder it's blocked because |
Describe your change
This pull request introduces the utilization of the path_provider package to enable access to the application documents directory on iOS, Android, macOS, Linux, and Windows platforms. By incorporating this package, we can ensure a consistent and secure storage location for user tokens.
What problem is this fixing?
Unhandled FileSystem exceptions on some platforms (iOS) while trying to store the persistent user token