{"action":"closed","number":6181,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/6181","id":60932425,"html_url":"https://github.com/facebook/react-native/pull/6181","diff_url":"https://github.com/facebook/react-native/pull/6181.diff","patch_url":"https://github.com/facebook/react-native/pull/6181.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/6181","number":6181,"state":"closed","locked":false,"title":"Android support for style backfaceVisibility","user":{"login":"kevinstumpf","id":7293984,"avatar_url":"https://avatars.githubusercontent.com/u/7293984?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinstumpf","html_url":"https://github.com/kevinstumpf","followers_url":"https://api.github.com/users/kevinstumpf/followers","following_url":"https://api.github.com/users/kevinstumpf/following{/other_user}","gists_url":"https://api.github.com/users/kevinstumpf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinstumpf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinstumpf/subscriptions","organizations_url":"https://api.github.com/users/kevinstumpf/orgs","repos_url":"https://api.github.com/users/kevinstumpf/repos","events_url":"https://api.github.com/users/kevinstumpf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinstumpf/received_events","type":"User","site_admin":false},"body":"- Motivation: Style backfaceVisibility was so far supported only on iOS\r\n- Test: I built [react-native-flip-view](https://github.com/DispatcherInc/react-native-flip-view) and ensured that the back face of a rotated View is not visible anymore when its \"backfaceVisibility\" style is set to \"hidden\"\r\n- Implementation Details: Out of the box, Android doesn't support hiding a view's back face. The developed solution therefore takes into account the view's rotation. If its X or Y rotation is such that the back face is visible, I check the backfaceVisibility setting. If it's set to \"hidden\", I set the view's opacity to 0 -- otherwise I set it to the user defined value. Furthermore, I run this check whenever the view's opacity, transform matrix or backfaceVisibility changes.\r\n","created_at":"2016-02-27T02:33:56Z","updated_at":"2016-02-27T03:47:28Z","closed_at":"2016-02-27T03:47:28Z","merged_at":null,"merge_commit_sha":"a1a9629e61191d1748887356eaa5b80dd24a8767","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/6181/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/6181/comments","review_comment_url":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/6181/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/609974798fda11ca1ebed7238b90f95360ce7b07","head":{"label":"kevinstumpf:backfaceVisibility-Android","ref":"backfaceVisibility-Android","sha":"609974798fda11ca1ebed7238b90f95360ce7b07","user":{"login":"kevinstumpf","id":7293984,"avatar_url":"https://avatars.githubusercontent.com/u/7293984?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinstumpf","html_url":"https://github.com/kevinstumpf","followers_url":"https://api.github.com/users/kevinstumpf/followers","following_url":"https://api.github.com/users/kevinstumpf/following{/other_user}","gists_url":"https://api.github.com/users/kevinstumpf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinstumpf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinstumpf/subscriptions","organizations_url":"https://api.github.com/users/kevinstumpf/orgs","repos_url":"https://api.github.com/users/kevinstumpf/repos","events_url":"https://api.github.com/users/kevinstumpf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinstumpf/received_events","type":"User","site_admin":false},"repo":{"id":52576193,"name":"react-native","full_name":"kevinstumpf/react-native","owner":{"login":"kevinstumpf","id":7293984,"avatar_url":"https://avatars.githubusercontent.com/u/7293984?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinstumpf","html_url":"https://github.com/kevinstumpf","followers_url":"https://api.github.com/users/kevinstumpf/followers","following_url":"https://api.github.com/users/kevinstumpf/following{/other_user}","gists_url":"https://api.github.com/users/kevinstumpf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinstumpf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinstumpf/subscriptions","organizations_url":"https://api.github.com/users/kevinstumpf/orgs","repos_url":"https://api.github.com/users/kevinstumpf/repos","events_url":"https://api.github.com/users/kevinstumpf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinstumpf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinstumpf/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/kevinstumpf/react-native","forks_url":"https://api.github.com/repos/kevinstumpf/react-native/forks","keys_url":"https://api.github.com/repos/kevinstumpf/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinstumpf/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinstumpf/react-native/teams","hooks_url":"https://api.github.com/repos/kevinstumpf/react-native/hooks","issue_events_url":"https://api.github.com/repos/kevinstumpf/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/kevinstumpf/react-native/events","assignees_url":"https://api.github.com/repos/kevinstumpf/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/kevinstumpf/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/kevinstumpf/react-native/tags","blobs_url":"https://api.github.com/repos/kevinstumpf/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinstumpf/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinstumpf/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinstumpf/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinstumpf/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinstumpf/react-native/languages","stargazers_url":"https://api.github.com/repos/kevinstumpf/react-native/stargazers","contributors_url":"https://api.github.com/repos/kevinstumpf/react-native/contributors","subscribers_url":"https://api.github.com/repos/kevinstumpf/react-native/subscribers","subscription_url":"https://api.github.com/repos/kevinstumpf/react-native/subscription","commits_url":"https://api.github.com/repos/kevinstumpf/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinstumpf/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinstumpf/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinstumpf/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinstumpf/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/kevinstumpf/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinstumpf/react-native/merges","archive_url":"https://api.github.com/repos/kevinstumpf/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinstumpf/react-native/downloads","issues_url":"https://api.github.com/repos/kevinstumpf/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/kevinstumpf/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinstumpf/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinstumpf/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinstumpf/react-native/labels{/name}","releases_url":"https://api.github.com/repos/kevinstumpf/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/kevinstumpf/react-native/deployments","created_at":"2016-02-26T03:35:40Z","updated_at":"2016-02-26T03:35:45Z","pushed_at":"2016-02-27T02:01:55Z","git_url":"git://github.com/kevinstumpf/react-native.git","ssh_url":"git@github.com:kevinstumpf/react-native.git","clone_url":"https://github.com/kevinstumpf/react-native.git","svn_url":"https://github.com/kevinstumpf/react-native","homepage":"http://facebook.github.io/react-native/","size":46630,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"facebook:master","ref":"master","sha":"8a042f46544161b7ca80fcbe00c1d115c9f72aab","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29028775,"name":"react-native","full_name":"facebook/react-native","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react-native","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/facebook/react-native","forks_url":"https://api.github.com/repos/facebook/react-native/forks","keys_url":"https://api.github.com/repos/facebook/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react-native/teams","hooks_url":"https://api.github.com/repos/facebook/react-native/hooks","issue_events_url":"https://api.github.com/repos/facebook/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react-native/events","assignees_url":"https://api.github.com/repos/facebook/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react-native/tags","blobs_url":"https://api.github.com/repos/facebook/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react-native/languages","stargazers_url":"https://api.github.com/repos/facebook/react-native/stargazers","contributors_url":"https://api.github.com/repos/facebook/react-native/contributors","subscribers_url":"https://api.github.com/repos/facebook/react-native/subscribers","subscription_url":"https://api.github.com/repos/facebook/react-native/subscription","commits_url":"https://api.github.com/repos/facebook/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react-native/merges","archive_url":"https://api.github.com/repos/facebook/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react-native/downloads","issues_url":"https://api.github.com/repos/facebook/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react-native/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/react-native/deployments","created_at":"2015-01-09T18:10:16Z","updated_at":"2016-02-27T03:41:28Z","pushed_at":"2016-02-27T02:33:56Z","git_url":"git://github.com/facebook/react-native.git","ssh_url":"git@github.com:facebook/react-native.git","clone_url":"https://github.com/facebook/react-native.git","svn_url":"https://github.com/facebook/react-native","homepage":"http://facebook.github.io/react-native/","size":79828,"stargazers_count":27770,"watchers_count":27770,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5131,"mirror_url":null,"open_issues_count":1169,"forks":5131,"open_issues":1169,"watchers":27770,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/6181"},"html":{"href":"https://github.com/facebook/react-native/pull/6181"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/6181"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/6181/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/6181/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react-native/pulls/6181/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/609974798fda11ca1ebed7238b90f95360ce7b07"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":64,"deletions":0,"changed_files":2}}