We’re using Universal AR SDK for Unity to develop a gyro-oriented experience.
The experience will be deployed for web browser (Unity WebGL).
We’re using Unity 2020.2.2f1
We’re trying to avoid the permissions UI provided with the SDK.
So, we tried replacing the
line in the ZapparCamera script with
Z.PermissionRequestAll() and also with a combination of
Z.PermissionRequestCamera() directly followed with Z.PermissionRequestMotion().
This seems to work in Android but not in iOS.
In particular, it seems that the camera permission is correctly triggered, and the accelerometer one is never triggered.
Are we doing something wrong?