Skip to content
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

Improve permission handle flow. #332

Merged
merged 6 commits into from
Sep 3, 2024
Merged

Improve permission handle flow. #332

merged 6 commits into from
Sep 3, 2024

Conversation

rosuH
Copy link
Owner

@rosuH rosuH commented Sep 2, 2024

No description provided.

rosuH added 6 commits July 14, 2024 23:08
…yResultLauncher

This commit introduces a new way to handle storage permissions by utilizing the ActivityResultLauncher for requesting multiple permissions. The previous implementation using ActivityCompat has been replaced, allowing for a more robust and modern approach to permission management.

# GENERATE BY https://aicommit.app
…troduce new permission check functions

This commit modifies the way storage permissions are handled in the application. The `isStoragePermissionGrated` function is updated to take a permission string as an argument, allowing for greater flexibility. Additionally, new methods `checkReadingPermission` and `checkWritingPermission` are added to streamline the process of checking and requesting permissions.

# GENERATE BY https://aicommit.app
@rosuH rosuH merged commit b5c9148 into master Sep 3, 2024
4 checks passed
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.

1 participant