Forum Discussion

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

Entitlement Checks and VR App Manager

Hello, Oculus keeps failing my app because they are saying they are still able to view the app after logging out of an Oculus Account that is authorized. However, whenever I log out of my Authorized Oculus account, I can't even launch the app. They keep telling me that they are launching it from the VR App Manager. I guess I am missing something and I am not sure what they mean by VR App Launcher. Anyone else having this issue? Or better yet have a fix? When I change my AndroidManifest from info to launcher and get the app icon on the phone, it crashes if I am logged out (desired behavior). 

Thanks! 

6 Replies

Replies have been turned off for this discussion
  • I am having the same issue. I don't know what they mean by "VR App Launcher" either.
  • davis3d's avatar
    davis3d
    Honored Guest
    I have the same issue, don't know how to solve it.
  • davis3d's avatar
    davis3d
    Honored Guest
    I have found out that sometimes Entitlement check passes if I log out but the session is still in logged in state. To make sure everything is really logged out I insert the phone into Gear VR, or I start the app twice. Isn't it that issue, that when reviewed it's not fully logged out and that's why we cannot pass Entitlement check review?

  • davis3d's avatar
    davis3d
    Honored Guest
    Thank you for the answer. I've tried to surround AsyncInitialize(---APP_ID----) with try/catch and again didn't pass entitlement check review.

    You mentioned:
    In addition, AsyncInitialize() does not throw an exception on Android if the initialization failed.

    Doesn't it mean that I'm not able to catch any exception so that solution doesn't work? How can I resolve it for Gear VR, because it's recommended to use AsyncInitialize, but doesn't throw any exceptions to be handled as Entitlement fail...? Or do I have to surround a different piece of code..?
    What's the proper way to test Entitlement check when we have no access to VR App Launcher and it seems that it behaves differently than our testing method (Oculus log in test - pass, log out and make sure I'm logged out - fail -> app respond with Entitlement fail message).

    Thank you
  • I should note about the code above: the OnComplete() function sets up a callback to "EntitlementCallback," whereas the function name itself is "GetEntitlementCallback()."

    This error is replicated in the documentation page here.
  • I should note about the code above: the OnComplete() function sets up a callback to "EntitlementCallback," whereas the function name itself is "GetEntitlementCallback()."

    This error is replicated in the documentation page here.