Skip to content

All file access permission for terminal#1426

Merged
RohitKushvaha01 merged 4 commits intoAcode-Foundation:mainfrom
RohitKushvaha01:main
Jul 16, 2025
Merged

All file access permission for terminal#1426
RohitKushvaha01 merged 4 commits intoAcode-Foundation:mainfrom
RohitKushvaha01:main

Conversation

@RohitKushvaha01
Copy link
Copy Markdown
Member

@RohitKushvaha01 RohitKushvaha01 commented Jul 15, 2025

This PR fixes the 'Permission Denied' issue when accessing /sdcard and /storage/emulated/0 in terminal

Note:
The Play Store might reject this (don't blame me 🙃)

@UnschooledGamer
Copy link
Copy Markdown
Member

Does the play store reject the whole app or specific version?

@RohitKushvaha01
Copy link
Copy Markdown
Member Author

Does the play store reject the whole app or specific version?

I don't know, Play Store recommends not using it.

@bajrangCoder bajrangCoder requested review from deadlyjack and removed request for bajrangCoder July 15, 2025 09:16
@RohitKushvaha01
Copy link
Copy Markdown
Member Author

Here's the documentation for context
https://support.google.com/googleplay/android-developer/answer/10467955?hl=en

@deadlyjack
Copy link
Copy Markdown
Member

Make it optional and add a script which can toggle this feature when building. We'll now host one separate build on website with the permissions. We can try the new build on play store if ut gets we need to remove this permission and submit the app.

@UnschooledGamer
Copy link
Copy Markdown
Member

UnschooledGamer commented Jul 15, 2025

Here's the documentation for context
https://support.google.com/googleplay/android-developer/answer/10467955?hl=en

Hmm, It says The App needs to specify the Reasons why it needs this permission in the declaration Form.

@RohitKushvaha01
Copy link
Copy Markdown
Member Author

Script uses:

node utils/storage_manager.mjs <y/n>

@RohitKushvaha01 RohitKushvaha01 merged commit 61f16de into Acode-Foundation:main Jul 16, 2025
2 checks passed
@TECHNOBOT-OP
Copy link
Copy Markdown

You should also handle displaying of Internal Storage and external volumes in file browser in sdk 30 or above devices if Manage external Storage Permission is granted just as it is handled in lower versions

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.

4 participants