Skip to content

Update storage_provider.dart #462

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

Merged
merged 1 commit into from
May 27, 2025
Merged

Update storage_provider.dart #462

merged 1 commit into from
May 27, 2025

Conversation

NBA2K1
Copy link
Contributor

@NBA2K1 NBA2K1 commented May 26, 2025

  • Move manageExternalStorage inside if (android), as it is Android only.
  • Cache permission state, to only check for permission once per app start preventing redundant checks.
  • Made initDB fully async to enhance efficiency and avoid sync operations

- Move manageExternalStorage inside if (android), as it is Android only.
- Cache permission state, to only check for permission once per app start preventing redundant checks.
- Made `initDB` fully async to enhance efficiency and avoid sync operations
@kodjodevf kodjodevf merged commit 40a1697 into kodjodevf:main May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants