12-03-2024 01:55 AM - edited 12-05-2024 12:43 AM
Starting from Quest system version v71 it is not possible to grant Draw Over Other Apps permission. Invoking the code I provided below opens up first page of Settings menu instead of the permission menu with toggle. The issue doesn't occur in version below v71. In previous versions it works fine, the menu with the toggle opens correctly and user can grant access to this permission.
// android.settings.action.MANAGE_OVERLAY_PERMISSION
Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:" + getPackageName()));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
It is also not possible to grant this permission manually through settings. The only way to grant it is to install an app using adb with -g parameter:
adb install -g .\app.apk
UPDATE:
Works fine on v72. I've just sideloaded v72 on my Quest 2 and it works as before. So the problem is only on v71.
Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.
If you need an agent to help with your Meta device, please contact our store support team here.
Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.
Check out some popular posts here:
Getting Help from the Meta Quest Community
Tips and Tricks: Charging your Meta Quest Headset