alvr-org/PhoneVR

[Issue/Bug] App does not request storage using storage access framework (SAF)

tutacat opened this issue · 5 comments

Is there an existing issue for this?

  • I have searched the existing issues

Is this issue has already been addressed in documentation?

  • I have read the readme file

Describe the bug/issue

This is required to save files to external storage on Android 14. It is not required to run the ALVR app. (since WRITE_EXTERNAL_STORAGE permission was deprecated, but the app was built to include target sdk 29 or higher)

Local (your) Time when Issue has occurred

11-Feb-2024, 00:00:00 Hrs

How To Reproduce your issue

  1. Install the client on Android 13/14
  2. Go through permissions setup
  3. See there is no Storage permission in app settings

Expected behaviour

If the app needs access to storage, it should use Storage Access Framework (if the app was compiled for api target sdk 29 or higher)

If the app doesn't need storage access at all, the Storage permission and code to check the storage permission should be removed.

Screenshots

No response

Environment (please complete the following information)

Android OS: Android 14
Device Model: Samsung OneUI 6+

Additional context

No response

Attached Logs

No response

Possible related to #221 ?

It's Android 14's system I guess, need to check it out, tested till Android 12

Same issue here, Android 14

Same here! Got the same problem on Android 14

On Android 15 beta now, still the same issue.