How to check the availability of camera rights for the current device
In addition to checking the availability of the AR on the current device, there is also how to check the availability of the camera rights of the current device. If the current camera permissions are disabled by the user, how do I get the current camera permission status.
You can use the ARCorePermissionManager.
@tdmowrer Hi,Is there a similar method for IOS systems? I didn't find it.
@tdmowrer Hi,Is there a similar method for IOS systems? I didn't find it.
Sorry, the better, and cross-platform way, is to use ARCameraManager.permissionGranted.
Thank you !!!
Can you recomend a way to check camera permission before loading an AR scene? Could ARCameraManager.permissionGranted have a static counterpart maybe?
There are methods of checking camera permission but we would not be adding that functionality outside of the context of an AR session.