Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums will be revoked at the discretion of Oculus staff.
New to the forums? Click here to read the How To guide. -- Developers click here.

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

guicoreguicore Posts: 2
NerveGear
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

Comments

  • imperativityimperativity Posts: 3,587 Valuable Player
    Hi,

    Welcome to the Oculus Developer Forums.

    You will either need to make a combined build that completely removes all aspects of GMS services or two separate builds on your developer dashboard: one for Gear VR and one for Oculus Go.

    Regarding the below:

    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();
    No, as our system will flag any disallowed google logic in the build regardless.
Sign In or Register to comment.