Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Files on Android are read-only for app-files-path #66

Open
xprojects-de opened this issue Dec 8, 2024 · 0 comments
Open

Files on Android are read-only for app-files-path #66

xprojects-de opened this issue Dec 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@xprojects-de
Copy link

see also ionic-team/capacitor-plugins#2268

Is your feature request related to a problem? Please describe.
Files from the APP-Files directory are opened read-only and are not editable even if the files-path permission is set in the FileProviderXML

...     
<files-path name="app_files" path="." />
...

Describe the solution you'd like
The solution would be to set also the Intent.FLAG_GRANT_WRITE_URI_PERMISSION flag in the intent.

Describe alternatives you've considered
Maybe with another input flag "writeAccess: true"!?

Additional context
We have an ICONIC app for our music as a music reader and would like to have access to the sheet music (PDF), which is stored in the app-files directory, for editing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants