Rejection due to "It appears that your app does not support entitlement checks..."
Our app is being rejected due to this failure in technical review: "It appears that your app does not support entitlement checks to prevent unauthorized use of your content. Documentation on how to add entitlement checks can be found here: https://developer.oculus.com/documentation/platform/latest/concepts/pgsg-get-started-with-sdk/"
However, we *do* perform entitlement checks, exactly as that documentation describes. This happens immediately when the game starts:
However, we *do* perform entitlement checks, exactly as that documentation describes. This happens immediately when the game starts:
void Start()This seems to be exactly what the docs are saying to do, doesn't it? Grateful for any ideas or feedback on this issue... thanks!
{
Debug.Log("TCAuth: Initializing Core...");
Core.Initialize();
Debug.Log("TCAuth: Initialized Core. Checking entitlement...");
Entitlements.IsUserEntitledToApplication().OnComplete(HandleEntitlement);
}
private void HandleEntitlement(Message msg)
{
Debug.Log("TCAuth: Handling entitlement. Error == " + msg.IsError);
if (msg.IsError)
{
Debug.LogError("TCAuth: Not entitled to app");
#if !UNITY_EDITOR
UnityEngine.Application.Quit();
#endif
}
else
{
Debug.Log("TCAuth: Getting logged in user...");
Users.GetLoggedInUser().OnComplete(HandleGetUser);
}
}
