If I wrap the command in a try / catch (see code bellow) the VR mode is switching but no more "insert phone animation" and no more "config icon" for changing the HMD parameters. I am really happy about that because on Android, it was possible to deactivate these features but not on iOS. Now my problem is that I cannot trigger the HMD config programmatically so the user is stuck with the default cardboard settings.
Hi,
When I build the GVR SDK in a custom framework, it compiles but I got the following run time error if I try to activate the VR Mode on CardboardView:
If I wrap the command in a try / catch (see code bellow) the VR mode is switching but no more "insert phone animation" and no more "config icon" for changing the HMD parameters. I am really happy about that because on Android, it was possible to deactivate these features but not on iOS. Now my problem is that I cannot trigger the HMD config programmatically so the user is stuck with the default cardboard settings.
I suspect the error is caused by the GVR framework trying to find the HMD profile in main app bundle but it's only a guess.
Please let me know if this is a bug or if I am doing something wrong.
Thank you