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

Update Android SDK Target to v32 (Android 12); request MANAGE_EXTERNAL_STORAGE #563

Merged
merged 4 commits into from
Nov 24, 2023

Conversation

mikeage
Copy link
Member

@mikeage mikeage commented Nov 22, 2023

Quest submissions now require a target SDK level of 32. We need to use the new storage APIs, however, this is inaccessible on the Quest devices for a variety of reasons, as discussed extensively on Discord. For now, use the file-manager permission of MANAGE_EXTERNAL_STORAGE where available (ignore it if it's not; that probably means a device with an older Android runtime that doesn't need this any way).

Note that on the Q2, after approving the MANAGE_EXTERNAL_STORAGE permission in the (2D) settings app, the Oculus menu bar remains open, although OB loads in the background. To return to our app, the user needs to click on the OB icon and then choose "Resume". This is not the best UX, but it's out of our hands.

@mikeage mikeage requested review from andybak and mikeskydev and removed request for andybak November 22, 2023 10:08
@mikeage mikeage added the enhancement Feature added label Nov 22, 2023
@mikeage
Copy link
Member Author

mikeage commented Nov 22, 2023

This will also unblock #524

@mikeage mikeage linked an issue Nov 22, 2023 that may be closed by this pull request
11 tasks
@mikeskydev
Copy link
Member

I might unlink #503 as while it is technically 'solved', it might be the cleaner solution once such APIs are properly available on Quest, and MANAGE doesn't work if we wanted to upload to Play store.

@mikeage
Copy link
Member Author

mikeage commented Nov 22, 2023

I might unlink #503 as while it is technically 'solved', it might be the cleaner solution once such APIs are properly available on Quest, and MANAGE doesn't work if we wanted to upload to Play store.

Fair. We can always make it a conditional.

Also, it says "may be closed", so I don't know if it actually closes automatically or not.

@mikeskydev mikeskydev merged commit 1433142 into main Nov 24, 2023
29 of 30 checks passed
@mikeskydev mikeskydev deleted the chore/android-12 branch November 24, 2023 11:47
helifax added a commit to LearnHub/open-brush that referenced this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Storage Access Framework
2 participants