Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
guicore's avatar
guicore
Explorer
7 years ago

how to handle differences gearvr vs oculus go in the same build

Hallo,

one question about how to handle differences on gearvr and go development for one build/version my application.
I have developed an application for samsung gearvr with camera support. Now i like to port it to oculus go, but want only one version for both platforms on the oculus store. When uploading my test build, the oculus store scan denies it. Oculus go has no camera, but my androidmanifest demands the camera permissions. Ok i could remove the camera permissions, though the gearvr will not use the camera.

Do i have to setup two applications on the store or is there a way to get one gear/go build on the store and handle the differences via code? if (device== oculus go) DoNoCamAction();

thanks
Replies have been turned off for this discussion