{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react-native/pulls/comments/35575879","id":35575879,"diff_hunk":"@@ -45,6 +45,7 @@ - (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher\n     _automaticallyAdjustContentInsets = YES;\n     _contentInset = UIEdgeInsetsZero;\n     _eventDispatcher = eventDispatcher;\n+    _schemes = [NSDictionary dictionaryWithObject:[NSNumber numberWithBool:YES] forKey:@\"*\"];","path":"React/Views/RCTWebView.m","position":4,"original_position":4,"commit_id":"94f4b395a40f93f41e771cccc8d93f369bf7593b","original_commit_id":"94f4b395a40f93f41e771cccc8d93f369bf7593b","user":{"login":"lwansbrough","id":186674,"avatar_url":"https://avatars.githubusercontent.com/u/186674?v=3","gravatar_id":"","url":"https://api.github.com/users/lwansbrough","html_url":"https://github.com/lwansbrough","followers_url":"https://api.github.com/users/lwansbrough/followers","following_url":"https://api.github.com/users/lwansbrough/following{/other_user}","gists_url":"https://api.github.com/users/lwansbrough/gists{/gist_id}","starred_url":"https://api.github.com/users/lwansbrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwansbrough/subscriptions","organizations_url":"https://api.github.com/users/lwansbrough/orgs","repos_url":"https://api.github.com/users/lwansbrough/repos","events_url":"https://api.github.com/users/lwansbrough/events{/privacy}","received_events_url":"https://api.github.com/users/lwansbrough/received_events","type":"User","site_admin":false},"body":"@ide Ah, so it's `@YES` instead of `[NSNumber numberWithBool:YES]`?","created_at":"2015-07-27T19:28:02Z","updated_at":"2015-07-27T19:28:02Z","html_url":"https://github.com/facebook/react-native/pull/2139#discussion_r35575879","pull_request_url":"https://api.github.com/repos/facebook/react-native/pulls/2139","_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments/35575879"},"html":{"href":"https://github.com/facebook/react-native/pull/2139#discussion_r35575879"},"pull_request":{"href":"https://api.github.com/repos/facebook/react-native/pulls/2139"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/2139","id":40937046,"html_url":"https://github.com/facebook/react-native/pull/2139","diff_url":"https://github.com/facebook/react-native/pull/2139.diff","patch_url":"https://github.com/facebook/react-native/pull/2139.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/2139","number":2139,"state":"open","locked":false,"title":"Adds cacheEnabled, cookiesEnabled, schemes to WebView","user":{"login":"lwansbrough","id":186674,"avatar_url":"https://avatars.githubusercontent.com/u/186674?v=3","gravatar_id":"","url":"https://api.github.com/users/lwansbrough","html_url":"https://github.com/lwansbrough","followers_url":"https://api.github.com/users/lwansbrough/followers","following_url":"https://api.github.com/users/lwansbrough/following{/other_user}","gists_url":"https://api.github.com/users/lwansbrough/gists{/gist_id}","starred_url":"https://api.github.com/users/lwansbrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwansbrough/subscriptions","organizations_url":"https://api.github.com/users/lwansbrough/orgs","repos_url":"https://api.github.com/users/lwansbrough/repos","events_url":"https://api.github.com/users/lwansbrough/events{/privacy}","received_events_url":"https://api.github.com/users/lwansbrough/received_events","type":"User","site_admin":false},"body":"Adds three new properties to WebViews:\r\n- cacheEnabled: (Boolean) Specify whether or not page content should be cached\r\n- cookiesEnabled: (Boolean) Specify whether or not cookies should be used\r\n- schemes: (Object of shape: { String: Boolean, ... }) A black/white list of schemes that are (dis)allowed. True means allowed, false means disallowed. By default all schemes are allowed, and the wildcard `*` may be used to target all schemes.","created_at":"2015-07-27T18:59:21Z","updated_at":"2015-07-27T19:28:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3b44e35ba8ec79f12d24cab338c97c0de61524c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/2139/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/2139/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/2139/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/94f4b395a40f93f41e771cccc8d93f369bf7593b","head":{"label":"lwansbrough:feature/webview-improvements","ref":"feature/webview-improvements","sha":"94f4b395a40f93f41e771cccc8d93f369bf7593b","user":{"login":"lwansbrough","id":186674,"avatar_url":"https://avatars.githubusercontent.com/u/186674?v=3","gravatar_id":"","url":"https://api.github.com/users/lwansbrough","html_url":"https://github.com/lwansbrough","followers_url":"https://api.github.com/users/lwansbrough/followers","following_url":"https://api.github.com/users/lwansbrough/following{/other_user}","gists_url":"https://api.github.com/users/lwansbrough/gists{/gist_id}","starred_url":"https://api.github.com/users/lwansbrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwansbrough/subscriptions","organizations_url":"https://api.github.com/users/lwansbrough/orgs","repos_url":"https://api.github.com/users/lwansbrough/repos","events_url":"https://api.github.com/users/lwansbrough/events{/privacy}","received_events_url":"https://api.github.com/users/lwansbrough/received_events","type":"User","site_admin":false},"repo":{"id":33653291,"name":"react-native","full_name":"lwansbrough/react-native","owner":{"login":"lwansbrough","id":186674,"avatar_url":"https://avatars.githubusercontent.com/u/186674?v=3","gravatar_id":"","url":"https://api.github.com/users/lwansbrough","html_url":"https://github.com/lwansbrough","followers_url":"https://api.github.com/users/lwansbrough/followers","following_url":"https://api.github.com/users/lwansbrough/following{/other_user}","gists_url":"https://api.github.com/users/lwansbrough/gists{/gist_id}","starred_url":"https://api.github.com/users/lwansbrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwansbrough/subscriptions","organizations_url":"https://api.github.com/users/lwansbrough/orgs","repos_url":"https://api.github.com/users/lwansbrough/repos","events_url":"https://api.github.com/users/lwansbrough/events{/privacy}","received_events_url":"https://api.github.com/users/lwansbrough/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lwansbrough/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/lwansbrough/react-native","forks_url":"https://api.github.com/repos/lwansbrough/react-native/forks","keys_url":"https://api.github.com/repos/lwansbrough/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lwansbrough/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lwansbrough/react-native/teams","hooks_url":"https://api.github.com/repos/lwansbrough/react-native/hooks","issue_events_url":"https://api.github.com/repos/lwansbrough/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/lwansbrough/react-native/events","assignees_url":"https://api.github.com/repos/lwansbrough/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/lwansbrough/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/lwansbrough/react-native/tags","blobs_url":"https://api.github.com/repos/lwansbrough/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lwansbrough/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lwansbrough/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/lwansbrough/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lwansbrough/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/lwansbrough/react-native/languages","stargazers_url":"https://api.github.com/repos/lwansbrough/react-native/stargazers","contributors_url":"https://api.github.com/repos/lwansbrough/react-native/contributors","subscribers_url":"https://api.github.com/repos/lwansbrough/react-native/subscribers","subscription_url":"https://api.github.com/repos/lwansbrough/react-native/subscription","commits_url":"https://api.github.com/repos/lwansbrough/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/lwansbrough/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/lwansbrough/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/lwansbrough/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/lwansbrough/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/lwansbrough/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lwansbrough/react-native/merges","archive_url":"https://api.github.com/repos/lwansbrough/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lwansbrough/react-native/downloads","issues_url":"https://api.github.com/repos/lwansbrough/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/lwansbrough/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/lwansbrough/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/lwansbrough/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lwansbrough/react-native/labels{/name}","releases_url":"https://api.github.com/repos/lwansbrough/react-native/releases{/id}","created_at":"2015-04-09T06:50:24Z","updated_at":"2015-04-11T22:54:28Z","pushed_at":"2015-07-27T09:51:11Z","git_url":"git://github.com/lwansbrough/react-native.git","ssh_url":"git@github.com:lwansbrough/react-native.git","clone_url":"https://github.com/lwansbrough/react-native.git","svn_url":"https://github.com/lwansbrough/react-native","homepage":"http://facebook.github.io/react-native/","size":9688,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"a803e3217e5aa88da4c05e96d54209444c96ebee","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}","created_at":"2015-01-09T18:10:16Z","updated_at":"2015-07-27T18:47:21Z","pushed_at":"2015-07-27T19:24:26Z","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":54329,"stargazers_count":16098,"watchers_count":16098,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2047,"mirror_url":null,"open_issues_count":442,"forks":2047,"open_issues":442,"watchers":16098,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/2139"},"html":{"href":"https://github.com/facebook/react-native/pull/2139"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/2139"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/2139/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/2139/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/2139/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/94f4b395a40f93f41e771cccc8d93f369bf7593b"}}}}