Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
conceptfactory's avatar
conceptfactory
Honored Guest
7 months ago

Android Permissions crashing the app multiple times

Hello,

I'm developing an application for Meta Quest 3 using Unity, BuildingBlocks and Fusion. Every time I install and test a new build on the device, the app asks for runtime permissions — specifically for microphone access and spatial data access (like positional tracking or scene understanding).

The issue is that these permissions are not requested all at once. Instead, the app asks for one permission (e.g., microphone), and after granting it, I have to close and reopen the app for it to ask for the next one (e.g., spatial data). This cycle repeats multiple times, making the testing and development process frustrating and time-consuming.

Is there a way to pre-grant these permissions, or configure the app so that all required permissions are requested together on the first launch, avoiding this repeated back-and-forth?

I've already added the necessary uses-permission entries in the AndroidManifest.xml, but the runtime prompts still happen separately.

Any guidance on how to streamline this permission workflow would be greatly appreciated.

Thank you!