-
Notifications
You must be signed in to change notification settings - Fork 12
made the Storage permission #133
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
Conversation
|
@Irtesaam can you check now i have implemented this in my emulator as well as 2 other phones and it is asking for the storage permission |
|
Dont merge it now i have to make minor changes |
Irtesaam
left a comment
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.
@FireFistisDead The current logic is flawed as app continues to save files to the Downloads directory even after storage permission has been denied. This behavior violates user privacy so fix it ASAP.
Also, why was access to music and audio added? Any app features actually using this permission?
|
@Irtesaam no review it previous commits were just my fault |
When Permission givenWhatsApp.Video.2025-08-16.at.23.56.36_c7f269be.mp4 |
When Permission is not givenpermission_not_given.mp4@Irtesaam fixeeed this flaw |
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.



Fixes
Closes #127
Description
This pull request introduces improvements to how storage permissions are handled in the Android app, refactors permission logic for better maintainability, and updates build configuration. The main changes include switching to a centralized permissions helper, updating Android manifest permissions, and modifying the NDK version in the build configuration.
Permissions handling and refactoring:
ExportScheduleUtilitywith a call toPermissionsHelper.requestStoragePermission, ensuring consistent permission management across the app (src/utils/exportSchedule.ts).requestStoragePermissioninsrc/utils/storage-permissions.tsthat delegates permission handling toPermissionsHelperfor easier reuse and testing.PermissionsHelperintoexportSchedule.tsfor centralized permission logic.Android configuration:
android.permission.WRITE_EXTERNAL_STORAGEtoAndroidManifest.xmlto explicitly request storage access on Android devices.android/build.gradlefrom27.1.12297006to26.3.11579264for compatibility or build stability.Files Changed
GSSoC Contributor
Testing Device