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

Request storage permissions on Android #218

Open
AntiGuide opened this issue Jun 5, 2024 · 2 comments
Open

Request storage permissions on Android #218

AntiGuide opened this issue Jun 5, 2024 · 2 comments

Comments

@AntiGuide
Copy link

The app does not actively ask for permissions to access the device storage. This results in music only being recognized in /storage/emulated/0/Android/data/io.github.janbar.noson/flies/Music but not in /storage/emulated/0/Music.

@janbar
Copy link
Owner

janbar commented Jun 23, 2024

Root cause is Android >= 11. From Android 11 the external storage (removable card) is no longer accessible by the app.
Google has changed the behavior, because the external storage can be removed online, and so it crash the apps accessing the external storage.

Solution: You have to put your music files in the internal storage of the device (internal disk) and not in the external flash card.

@udittmer
Copy link

It's fine for files needing to be in internal storage, but that's a different issue than the storage permission not being asked for - which I second would be a good thing to do, especially as it's not mentioned anywhere that this needs to be done manually.

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

No branches or pull requests

3 participants