{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/87","id":146784476,"html_url":"https://github.com/HippoAR/react-native-arkit/pull/87","diff_url":"https://github.com/HippoAR/react-native-arkit/pull/87.diff","patch_url":"https://github.com/HippoAR/react-native-arkit/pull/87.patch","issue_url":"https://api.github.com/repos/HippoAR/react-native-arkit/issues/87","number":87,"state":"open","locked":false,"title":"onFeaturesDetected callback","user":{"login":"macrozone","id":1972353,"avatar_url":"https://avatars3.githubusercontent.com/u/1972353?v=4","gravatar_id":"","url":"https://api.github.com/users/macrozone","html_url":"https://github.com/macrozone","followers_url":"https://api.github.com/users/macrozone/followers","following_url":"https://api.github.com/users/macrozone/following{/other_user}","gists_url":"https://api.github.com/users/macrozone/gists{/gist_id}","starred_url":"https://api.github.com/users/macrozone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macrozone/subscriptions","organizations_url":"https://api.github.com/users/macrozone/orgs","repos_url":"https://api.github.com/users/macrozone/repos","events_url":"https://api.github.com/users/macrozone/events{/privacy}","received_events_url":"https://api.github.com/users/macrozone/received_events","type":"User","site_admin":false},"body":"adds a callback on the ARKit component that notifies about new feature-points. The main use for that is to show custom feature-points (see https://stackoverflow.com/questions/46121994/how-to-change-the-appearance-of-arscndebugoptions-featurepoints)\r\n\r\nYou can get the feature points from the callback:\r\n\r\n```\r\n  <ARKit\r\n     // ...\r\n      onFeaturesDetected={\r\n        e => {\r\n              const { featurePoints } = e.nativeEvent\r\n              // do what every you want with them, e.g. update redux with the features\r\n             // WARNING: this is called often, if you are using redux-devtools you should blacklist this event.\r\n              setFeaturesDetected(featurePoints)\r\n            }\r\n      }\r\n```\r\n\r\nthe current implementation calls the callback on every frame, even if the features have not changed. This might get optimized later","created_at":"2017-10-16T13:28:05Z","updated_at":"2017-10-16T13:28:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/87/commits","review_comments_url":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/87/comments","review_comment_url":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HippoAR/react-native-arkit/issues/87/comments","statuses_url":"https://api.github.com/repos/HippoAR/react-native-arkit/statuses/6496926e26e2a63f9263c71ea63761277c9359ad","head":{"label":"panter:feature-points","ref":"feature-points","sha":"6496926e26e2a63f9263c71ea63761277c9359ad","user":{"login":"panter","id":157435,"avatar_url":"https://avatars2.githubusercontent.com/u/157435?v=4","gravatar_id":"","url":"https://api.github.com/users/panter","html_url":"https://github.com/panter","followers_url":"https://api.github.com/users/panter/followers","following_url":"https://api.github.com/users/panter/following{/other_user}","gists_url":"https://api.github.com/users/panter/gists{/gist_id}","starred_url":"https://api.github.com/users/panter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panter/subscriptions","organizations_url":"https://api.github.com/users/panter/orgs","repos_url":"https://api.github.com/users/panter/repos","events_url":"https://api.github.com/users/panter/events{/privacy}","received_events_url":"https://api.github.com/users/panter/received_events","type":"Organization","site_admin":false},"repo":{"id":102866881,"name":"react-native-arkit","full_name":"panter/react-native-arkit","owner":{"login":"panter","id":157435,"avatar_url":"https://avatars2.githubusercontent.com/u/157435?v=4","gravatar_id":"","url":"https://api.github.com/users/panter","html_url":"https://github.com/panter","followers_url":"https://api.github.com/users/panter/followers","following_url":"https://api.github.com/users/panter/following{/other_user}","gists_url":"https://api.github.com/users/panter/gists{/gist_id}","starred_url":"https://api.github.com/users/panter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panter/subscriptions","organizations_url":"https://api.github.com/users/panter/orgs","repos_url":"https://api.github.com/users/panter/repos","events_url":"https://api.github.com/users/panter/events{/privacy}","received_events_url":"https://api.github.com/users/panter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/panter/react-native-arkit","description":"React Native binding for iOS ARKit","fork":true,"url":"https://api.github.com/repos/panter/react-native-arkit","forks_url":"https://api.github.com/repos/panter/react-native-arkit/forks","keys_url":"https://api.github.com/repos/panter/react-native-arkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/panter/react-native-arkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/panter/react-native-arkit/teams","hooks_url":"https://api.github.com/repos/panter/react-native-arkit/hooks","issue_events_url":"https://api.github.com/repos/panter/react-native-arkit/issues/events{/number}","events_url":"https://api.github.com/repos/panter/react-native-arkit/events","assignees_url":"https://api.github.com/repos/panter/react-native-arkit/assignees{/user}","branches_url":"https://api.github.com/repos/panter/react-native-arkit/branches{/branch}","tags_url":"https://api.github.com/repos/panter/react-native-arkit/tags","blobs_url":"https://api.github.com/repos/panter/react-native-arkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/panter/react-native-arkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/panter/react-native-arkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/panter/react-native-arkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/panter/react-native-arkit/statuses/{sha}","languages_url":"https://api.github.com/repos/panter/react-native-arkit/languages","stargazers_url":"https://api.github.com/repos/panter/react-native-arkit/stargazers","contributors_url":"https://api.github.com/repos/panter/react-native-arkit/contributors","subscribers_url":"https://api.github.com/repos/panter/react-native-arkit/subscribers","subscription_url":"https://api.github.com/repos/panter/react-native-arkit/subscription","commits_url":"https://api.github.com/repos/panter/react-native-arkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/panter/react-native-arkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/panter/react-native-arkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/panter/react-native-arkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/panter/react-native-arkit/contents/{+path}","compare_url":"https://api.github.com/repos/panter/react-native-arkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/panter/react-native-arkit/merges","archive_url":"https://api.github.com/repos/panter/react-native-arkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/panter/react-native-arkit/downloads","issues_url":"https://api.github.com/repos/panter/react-native-arkit/issues{/number}","pulls_url":"https://api.github.com/repos/panter/react-native-arkit/pulls{/number}","milestones_url":"https://api.github.com/repos/panter/react-native-arkit/milestones{/number}","notifications_url":"https://api.github.com/repos/panter/react-native-arkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/panter/react-native-arkit/labels{/name}","releases_url":"https://api.github.com/repos/panter/react-native-arkit/releases{/id}","deployments_url":"https://api.github.com/repos/panter/react-native-arkit/deployments","created_at":"2017-09-08T13:55:03Z","updated_at":"2017-09-26T17:06:48Z","pushed_at":"2017-10-16T13:22:02Z","git_url":"git://github.com/panter/react-native-arkit.git","ssh_url":"git@github.com:panter/react-native-arkit.git","clone_url":"https://github.com/panter/react-native-arkit.git","svn_url":"https://github.com/panter/react-native-arkit","homepage":null,"size":4222,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HippoAR:master","ref":"master","sha":"13be97c76d0b7fcb9bb6a4069563f3a5cdd0911e","user":{"login":"HippoAR","id":30037514,"avatar_url":"https://avatars2.githubusercontent.com/u/30037514?v=4","gravatar_id":"","url":"https://api.github.com/users/HippoAR","html_url":"https://github.com/HippoAR","followers_url":"https://api.github.com/users/HippoAR/followers","following_url":"https://api.github.com/users/HippoAR/following{/other_user}","gists_url":"https://api.github.com/users/HippoAR/gists{/gist_id}","starred_url":"https://api.github.com/users/HippoAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HippoAR/subscriptions","organizations_url":"https://api.github.com/users/HippoAR/orgs","repos_url":"https://api.github.com/users/HippoAR/repos","events_url":"https://api.github.com/users/HippoAR/events{/privacy}","received_events_url":"https://api.github.com/users/HippoAR/received_events","type":"Organization","site_admin":false},"repo":{"id":96742289,"name":"react-native-arkit","full_name":"HippoAR/react-native-arkit","owner":{"login":"HippoAR","id":30037514,"avatar_url":"https://avatars2.githubusercontent.com/u/30037514?v=4","gravatar_id":"","url":"https://api.github.com/users/HippoAR","html_url":"https://github.com/HippoAR","followers_url":"https://api.github.com/users/HippoAR/followers","following_url":"https://api.github.com/users/HippoAR/following{/other_user}","gists_url":"https://api.github.com/users/HippoAR/gists{/gist_id}","starred_url":"https://api.github.com/users/HippoAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HippoAR/subscriptions","organizations_url":"https://api.github.com/users/HippoAR/orgs","repos_url":"https://api.github.com/users/HippoAR/repos","events_url":"https://api.github.com/users/HippoAR/events{/privacy}","received_events_url":"https://api.github.com/users/HippoAR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HippoAR/react-native-arkit","description":"React Native binding for iOS ARKit","fork":false,"url":"https://api.github.com/repos/HippoAR/react-native-arkit","forks_url":"https://api.github.com/repos/HippoAR/react-native-arkit/forks","keys_url":"https://api.github.com/repos/HippoAR/react-native-arkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HippoAR/react-native-arkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HippoAR/react-native-arkit/teams","hooks_url":"https://api.github.com/repos/HippoAR/react-native-arkit/hooks","issue_events_url":"https://api.github.com/repos/HippoAR/react-native-arkit/issues/events{/number}","events_url":"https://api.github.com/repos/HippoAR/react-native-arkit/events","assignees_url":"https://api.github.com/repos/HippoAR/react-native-arkit/assignees{/user}","branches_url":"https://api.github.com/repos/HippoAR/react-native-arkit/branches{/branch}","tags_url":"https://api.github.com/repos/HippoAR/react-native-arkit/tags","blobs_url":"https://api.github.com/repos/HippoAR/react-native-arkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HippoAR/react-native-arkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HippoAR/react-native-arkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/HippoAR/react-native-arkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HippoAR/react-native-arkit/statuses/{sha}","languages_url":"https://api.github.com/repos/HippoAR/react-native-arkit/languages","stargazers_url":"https://api.github.com/repos/HippoAR/react-native-arkit/stargazers","contributors_url":"https://api.github.com/repos/HippoAR/react-native-arkit/contributors","subscribers_url":"https://api.github.com/repos/HippoAR/react-native-arkit/subscribers","subscription_url":"https://api.github.com/repos/HippoAR/react-native-arkit/subscription","commits_url":"https://api.github.com/repos/HippoAR/react-native-arkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/HippoAR/react-native-arkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/HippoAR/react-native-arkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/HippoAR/react-native-arkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/HippoAR/react-native-arkit/contents/{+path}","compare_url":"https://api.github.com/repos/HippoAR/react-native-arkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HippoAR/react-native-arkit/merges","archive_url":"https://api.github.com/repos/HippoAR/react-native-arkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HippoAR/react-native-arkit/downloads","issues_url":"https://api.github.com/repos/HippoAR/react-native-arkit/issues{/number}","pulls_url":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls{/number}","milestones_url":"https://api.github.com/repos/HippoAR/react-native-arkit/milestones{/number}","notifications_url":"https://api.github.com/repos/HippoAR/react-native-arkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HippoAR/react-native-arkit/labels{/name}","releases_url":"https://api.github.com/repos/HippoAR/react-native-arkit/releases{/id}","deployments_url":"https://api.github.com/repos/HippoAR/react-native-arkit/deployments","created_at":"2017-07-10T06:17:34Z","updated_at":"2017-10-16T13:13:42Z","pushed_at":"2017-10-16T10:03:24Z","git_url":"git://github.com/HippoAR/react-native-arkit.git","ssh_url":"git@github.com:HippoAR/react-native-arkit.git","clone_url":"https://github.com/HippoAR/react-native-arkit.git","svn_url":"https://github.com/HippoAR/react-native-arkit","homepage":null,"size":4216,"stargazers_count":646,"watchers_count":646,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":26,"forks":29,"open_issues":26,"watchers":646,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/87"},"html":{"href":"https://github.com/HippoAR/react-native-arkit/pull/87"},"issue":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/issues/87"},"comments":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/HippoAR/react-native-arkit/statuses/6496926e26e2a63f9263c71ea63761277c9359ad"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":58,"deletions":28,"changed_files":5}}
{"actor":{"display_login":"macrozone"}}