ovr_GetLoggedInUserID always return 0
const char* appID = "the-app-id";
if (ovr_PlatformInitializeAndroid(appID, androidApp->activity->clazz, Env) != ovrPlatformInitialize_Success) {
ALOGE("Failed to initialize Platform sdk.");
exit(1);
}
ALOGV(" my logged in user ID is: %lu ", ovr_GetLoggedInUserID());
const char *sku = "unpublished_item";
ALOGV(" launch checkout flow ");
ovr_IAP_LaunchCheckoutFlow(sku);
I am having trouble setting up the SDK in my OpenXR app.
The initialization is successful, however I always get ovr_GetLoggedInUserID as 0. And the ovr_IAP_LaunchCheckoutFlow will end up with an error "Received launch checkout failure: An Unknown error occurred"
Is there anything I am missing?
