Unfortunately Safari disables Motion and Orientation access by default in:
Settings > Safari > Privacy & Security > Motion & Orientation Access
So what I'm trying to figure out is if it's possible to detect whether the user has this setting enabled or not. Is there a property on the window object in the browser that informs me that it's enabled?
I've tried looking up the solution on StackOverflow and various other places but they're either outdated or just don't work.