Allow Access for Handtracking/Movements and Surroundings Device Popups

When the app is first installed on the Vision Pro, two device popups come up asking to allow handtracking/movements and surroundings.

I am using an unbounded scene and all objects are put into the floor (It’s also like it gets the camera position as (0, 0, 0)).

When the game is restarted after selecting Allow on these popups, everything works as it should.

Is there a way to check when these popups go away before the code adjusts the objects to the correct positions in front of the camera and on the planes in front of you?