How can I get the result of native iOS permission popups (e.g., camera and motion permissions)?

I want to know if there’s a way to programmatically determine whether a user has granted or denied permissions shown in native iOS popups—specifically for things like the camera and motion sensors. Is there a recommended approach to check the result of these permission requests?

I’ll check with the team to see if anything like this exists in XR8, but as far as I know there isn’t a way to get the status of permissions directly. Typically, you need to assume the permission is granted and handle the subsequent error if it’s not.