I figured something out but I presume this may need rectifying in the future. Differentiate Ipad from visionOS using screen dimensions. Ipad is less. I can now have my feature not trying to turn on mobile device orientation controls going fullscreen thinking it's an Ipad / mobile device. Html Fullscreen in visionOS is contained to the browser view until XR immersive mode so orientation won't work. I'm sad so many traps are put in place and makes it very difficult to pull features off for anything Apple.
https://github.com/danrossi/ios-detection-utils/blob/main/src/IOSUtils.js#L30
Topic:
App & System Services
SubTopic:
Core OS
Tags: