Forum Discussion
ComeOnAndSam
4 years agoExplorer
Permission denied on accessing storage even though I gave it
I'm trying to call Directory.EnumerateFiles on "storage/emulated/0/Android".
In unity I called
if (!Permission.HasUserAuthorizedPermission(Permission.ExternalStorageRead))
{
Permission.RequestUserPermission(Permission.ExternalStorageRead);
}And then the permissions window appeared and I hit allow.
Yet when I call EnumerateFiles, I'm told "IOException: Permission Denied"
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 10 months ago
- 7 months ago
- 2 years ago
- 2 months ago