{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/GearVRf/issues/808","repository_url":"https://api.github.com/repos/Samsung/GearVRf","labels_url":"https://api.github.com/repos/Samsung/GearVRf/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/GearVRf/issues/808/comments","events_url":"https://api.github.com/repos/Samsung/GearVRf/issues/808/events","html_url":"https://github.com/Samsung/GearVRf/issues/808","id":170877810,"number":808,"title":"Entitlement Check","user":{"login":"oliverRandom42","id":17471706,"avatar_url":"https://avatars.githubusercontent.com/u/17471706?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverRandom42","html_url":"https://github.com/oliverRandom42","followers_url":"https://api.github.com/users/oliverRandom42/followers","following_url":"https://api.github.com/users/oliverRandom42/following{/other_user}","gists_url":"https://api.github.com/users/oliverRandom42/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverRandom42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverRandom42/subscriptions","organizations_url":"https://api.github.com/users/oliverRandom42/orgs","repos_url":"https://api.github.com/users/oliverRandom42/repos","events_url":"https://api.github.com/users/oliverRandom42/events{/privacy}","received_events_url":"https://api.github.com/users/oliverRandom42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Samsung/GearVRf/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-12T14:00:57Z","updated_at":"2016-08-16T19:46:16Z","closed_at":null,"body":"Hi all,\r\n\r\nHas anybody had any luck with creating an entitlement check as required by the oculus store submission guidelines?\r\n\r\nAnd how did they go about it?\r\n\r\nThere is instruction on how to do it with the native ovr sdk but not sure how to approach with gearvrf:\r\nhttps://developer.oculus.com/documentation/platform/latest/concepts/pgsg-3-pw-platform-walkthrough/#pgsg-pw-g-native-gear-vr-ent\r\n\r\nCheers,\r\n\r\nO."},"comment":{"url":"https://api.github.com/repos/Samsung/GearVRf/issues/comments/240215871","html_url":"https://github.com/Samsung/GearVRf/issues/808#issuecomment-240215871","issue_url":"https://api.github.com/repos/Samsung/GearVRf/issues/808","id":240215871,"user":{"login":"liaxim","id":11889541,"avatar_url":"https://avatars.githubusercontent.com/u/11889541?v=3","gravatar_id":"","url":"https://api.github.com/users/liaxim","html_url":"https://github.com/liaxim","followers_url":"https://api.github.com/users/liaxim/followers","following_url":"https://api.github.com/users/liaxim/following{/other_user}","gists_url":"https://api.github.com/users/liaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/liaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liaxim/subscriptions","organizations_url":"https://api.github.com/users/liaxim/orgs","repos_url":"https://api.github.com/users/liaxim/repos","events_url":"https://api.github.com/users/liaxim/events{/privacy}","received_events_url":"https://api.github.com/users/liaxim/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T19:46:16Z","updated_at":"2016-08-16T19:46:16Z","body":"@oliverRandom42 Hi. We have something but it requires building the framework yourself. See #818.\r\n\r\n1. Download and install Platform SDK 1.6.0. This and only this version works for me.\r\n2. In gradle.properties define OVR_PLATFORM_SDK so it points to the location where the Platform SDK was installed.\r\n3. Get the latest framework code.\r\n4. Apply the changes on top of it by doing\r\n\r\n   ```\r\n   git checkout -b liaxim-oculus_entitlement_check master\r\n   git pull https://github.com/liaxim/GearVRf.git oculus_entitlement_check\r\n   ```\r\n5. Build the framework.\r\n6. Have your onCreate look something like this:\r\n```\r\n protected void onCreate(Bundle icicle) {\r\n      setOculusAppId(\"123456789012345\");\r\n      getEventReceiver().addListener(new IPlatformSDKEvents() {\r\n          public void onPlatformInitializeError(int errorCode) {\r\n          }\r\n\r\n          public void onUserIsNotEntitled() {\r\n          }\r\n      };\r\n\r\n      super.onCreate(icicle);\r\n      setScript(new SampleMain(this), \"gvr.xml\");\r\n }\r\n```\r\n\r\n\r\nLooking forward to hearing your feedback."}}
{"actor":{"display_login":"liaxim"}}