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

Docs: Expanded the docs on the limitations of external filesystems fo… #593

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

breautek
Copy link
Contributor

@breautek breautek commented Aug 8, 2023

Added an entire docs section on the quirks of external storage system on Android for API 29+ devices.

It explains at a high level what the issue is and offers an NPM search for a media store plugin that should provide a better alternative moving forward.

In summary
Android way of using the MediaStore API, which has been a concept since API level 1, but effectively now being enforced. As of API 30, there is a FUSE API which ties File API operations to MediaStore, allowing limited access to the external storage system through File APIs, which is mostly meant for NDK to access media assets.

API 29 will enforce Scoped Access for all newer apps (apps that has never been deployed to the play store) and doesn't have FUSE, making the Media Store API the only way to access external filesystem which is why it cannot be relied on.

The documentation changes makes aware of these quirks.

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@breautek breautek merged commit 360a73c into apache:master Sep 2, 2023
@breautek breautek deleted the external-storage-docs branch September 2, 2023 11:15
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