{"action":"created","comment":{"url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/comments/101503813","pull_request_review_id":22233521,"id":101503813,"diff_hunk":"@@ -12,11 +12,19 @@ import { NativeModules } from 'react-native';\n \n const { CTKInterstitialAdManager } = NativeModules;\n \n+let pendingPromise: ?Promise<boolean> = null;\n export default {\n   /**\n    * Shows interstitial ad for a given placementId\n    */\n   showAd(placementId: string): Promise<boolean> {\n-    return CTKInterstitialAdManager.showAd(placementId);","path":"src/InterstitialAdManager.js","position":10,"original_position":10,"commit_id":"b4069665c2509211db44929687522dd05a3959c7","original_commit_id":"b4069665c2509211db44929687522dd05a3959c7","user":{"login":"grabbou","id":2464966,"avatar_url":"https://avatars.githubusercontent.com/u/2464966?v=3","gravatar_id":"","url":"https://api.github.com/users/grabbou","html_url":"https://github.com/grabbou","followers_url":"https://api.github.com/users/grabbou/followers","following_url":"https://api.github.com/users/grabbou/following{/other_user}","gists_url":"https://api.github.com/users/grabbou/gists{/gist_id}","starred_url":"https://api.github.com/users/grabbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grabbou/subscriptions","organizations_url":"https://api.github.com/users/grabbou/orgs","repos_url":"https://api.github.com/users/grabbou/repos","events_url":"https://api.github.com/users/grabbou/events{/privacy}","received_events_url":"https://api.github.com/users/grabbou/received_events","type":"User","site_admin":false},"body":"We can `reject` it from native instead of having invariant?","created_at":"2017-02-16T12:07:18Z","updated_at":"2017-02-16T12:07:18Z","html_url":"https://github.com/callstack-io/react-native-fbads/pull/39#discussion_r101503813","pull_request_url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/comments/101503813"},"html":{"href":"https://github.com/callstack-io/react-native-fbads/pull/39#discussion_r101503813"},"pull_request":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39","id":106490216,"html_url":"https://github.com/callstack-io/react-native-fbads/pull/39","diff_url":"https://github.com/callstack-io/react-native-fbads/pull/39.diff","patch_url":"https://github.com/callstack-io/react-native-fbads/pull/39.patch","issue_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/39","number":39,"state":"open","locked":false,"title":"Work around for showAd","user":{"login":"jakubsta","id":7150839,"avatar_url":"https://avatars.githubusercontent.com/u/7150839?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubsta","html_url":"https://github.com/jakubsta","followers_url":"https://api.github.com/users/jakubsta/followers","following_url":"https://api.github.com/users/jakubsta/following{/other_user}","gists_url":"https://api.github.com/users/jakubsta/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubsta/subscriptions","organizations_url":"https://api.github.com/users/jakubsta/orgs","repos_url":"https://api.github.com/users/jakubsta/repos","events_url":"https://api.github.com/users/jakubsta/events{/privacy}","received_events_url":"https://api.github.com/users/jakubsta/received_events","type":"User","site_admin":false},"body":"This PR fixes #36 ","created_at":"2017-02-16T10:00:04Z","updated_at":"2017-02-16T12:07:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b201e23b0a79ab4177a04e6007d4e5ddcb1dab6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39/commits","review_comments_url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39/comments","review_comment_url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/comments{/number}","comments_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/39/comments","statuses_url":"https://api.github.com/repos/callstack-io/react-native-fbads/statuses/b4069665c2509211db44929687522dd05a3959c7","head":{"label":"callstack-io:hotfix/interstitial","ref":"hotfix/interstitial","sha":"b4069665c2509211db44929687522dd05a3959c7","user":{"login":"callstack-io","id":17571969,"avatar_url":"https://avatars.githubusercontent.com/u/17571969?v=3","gravatar_id":"","url":"https://api.github.com/users/callstack-io","html_url":"https://github.com/callstack-io","followers_url":"https://api.github.com/users/callstack-io/followers","following_url":"https://api.github.com/users/callstack-io/following{/other_user}","gists_url":"https://api.github.com/users/callstack-io/gists{/gist_id}","starred_url":"https://api.github.com/users/callstack-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callstack-io/subscriptions","organizations_url":"https://api.github.com/users/callstack-io/orgs","repos_url":"https://api.github.com/users/callstack-io/repos","events_url":"https://api.github.com/users/callstack-io/events{/privacy}","received_events_url":"https://api.github.com/users/callstack-io/received_events","type":"Organization","site_admin":false},"repo":{"id":69101782,"name":"react-native-fbads","full_name":"callstack-io/react-native-fbads","owner":{"login":"callstack-io","id":17571969,"avatar_url":"https://avatars.githubusercontent.com/u/17571969?v=3","gravatar_id":"","url":"https://api.github.com/users/callstack-io","html_url":"https://github.com/callstack-io","followers_url":"https://api.github.com/users/callstack-io/followers","following_url":"https://api.github.com/users/callstack-io/following{/other_user}","gists_url":"https://api.github.com/users/callstack-io/gists{/gist_id}","starred_url":"https://api.github.com/users/callstack-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callstack-io/subscriptions","organizations_url":"https://api.github.com/users/callstack-io/orgs","repos_url":"https://api.github.com/users/callstack-io/repos","events_url":"https://api.github.com/users/callstack-io/events{/privacy}","received_events_url":"https://api.github.com/users/callstack-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/callstack-io/react-native-fbads","description":"Facebook Audience SDK integration for React Native","fork":false,"url":"https://api.github.com/repos/callstack-io/react-native-fbads","forks_url":"https://api.github.com/repos/callstack-io/react-native-fbads/forks","keys_url":"https://api.github.com/repos/callstack-io/react-native-fbads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callstack-io/react-native-fbads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callstack-io/react-native-fbads/teams","hooks_url":"https://api.github.com/repos/callstack-io/react-native-fbads/hooks","issue_events_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/events{/number}","events_url":"https://api.github.com/repos/callstack-io/react-native-fbads/events","assignees_url":"https://api.github.com/repos/callstack-io/react-native-fbads/assignees{/user}","branches_url":"https://api.github.com/repos/callstack-io/react-native-fbads/branches{/branch}","tags_url":"https://api.github.com/repos/callstack-io/react-native-fbads/tags","blobs_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/refs{/sha}","trees_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callstack-io/react-native-fbads/statuses/{sha}","languages_url":"https://api.github.com/repos/callstack-io/react-native-fbads/languages","stargazers_url":"https://api.github.com/repos/callstack-io/react-native-fbads/stargazers","contributors_url":"https://api.github.com/repos/callstack-io/react-native-fbads/contributors","subscribers_url":"https://api.github.com/repos/callstack-io/react-native-fbads/subscribers","subscription_url":"https://api.github.com/repos/callstack-io/react-native-fbads/subscription","commits_url":"https://api.github.com/repos/callstack-io/react-native-fbads/commits{/sha}","git_commits_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/commits{/sha}","comments_url":"https://api.github.com/repos/callstack-io/react-native-fbads/comments{/number}","issue_comment_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/comments{/number}","contents_url":"https://api.github.com/repos/callstack-io/react-native-fbads/contents/{+path}","compare_url":"https://api.github.com/repos/callstack-io/react-native-fbads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callstack-io/react-native-fbads/merges","archive_url":"https://api.github.com/repos/callstack-io/react-native-fbads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callstack-io/react-native-fbads/downloads","issues_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues{/number}","pulls_url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls{/number}","milestones_url":"https://api.github.com/repos/callstack-io/react-native-fbads/milestones{/number}","notifications_url":"https://api.github.com/repos/callstack-io/react-native-fbads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callstack-io/react-native-fbads/labels{/name}","releases_url":"https://api.github.com/repos/callstack-io/react-native-fbads/releases{/id}","deployments_url":"https://api.github.com/repos/callstack-io/react-native-fbads/deployments","created_at":"2016-09-24T12:46:21Z","updated_at":"2017-02-15T10:19:49Z","pushed_at":"2017-02-16T10:00:05Z","git_url":"git://github.com/callstack-io/react-native-fbads.git","ssh_url":"git@github.com:callstack-io/react-native-fbads.git","clone_url":"https://github.com/callstack-io/react-native-fbads.git","svn_url":"https://github.com/callstack-io/react-native-fbads","homepage":"","size":249,"stargazers_count":87,"watchers_count":87,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":11,"forks":12,"open_issues":11,"watchers":87,"default_branch":"master"}},"base":{"label":"callstack-io:master","ref":"master","sha":"e13a7f9a4fd3358296eaa2134597857abc6b3558","user":{"login":"callstack-io","id":17571969,"avatar_url":"https://avatars.githubusercontent.com/u/17571969?v=3","gravatar_id":"","url":"https://api.github.com/users/callstack-io","html_url":"https://github.com/callstack-io","followers_url":"https://api.github.com/users/callstack-io/followers","following_url":"https://api.github.com/users/callstack-io/following{/other_user}","gists_url":"https://api.github.com/users/callstack-io/gists{/gist_id}","starred_url":"https://api.github.com/users/callstack-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callstack-io/subscriptions","organizations_url":"https://api.github.com/users/callstack-io/orgs","repos_url":"https://api.github.com/users/callstack-io/repos","events_url":"https://api.github.com/users/callstack-io/events{/privacy}","received_events_url":"https://api.github.com/users/callstack-io/received_events","type":"Organization","site_admin":false},"repo":{"id":69101782,"name":"react-native-fbads","full_name":"callstack-io/react-native-fbads","owner":{"login":"callstack-io","id":17571969,"avatar_url":"https://avatars.githubusercontent.com/u/17571969?v=3","gravatar_id":"","url":"https://api.github.com/users/callstack-io","html_url":"https://github.com/callstack-io","followers_url":"https://api.github.com/users/callstack-io/followers","following_url":"https://api.github.com/users/callstack-io/following{/other_user}","gists_url":"https://api.github.com/users/callstack-io/gists{/gist_id}","starred_url":"https://api.github.com/users/callstack-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callstack-io/subscriptions","organizations_url":"https://api.github.com/users/callstack-io/orgs","repos_url":"https://api.github.com/users/callstack-io/repos","events_url":"https://api.github.com/users/callstack-io/events{/privacy}","received_events_url":"https://api.github.com/users/callstack-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/callstack-io/react-native-fbads","description":"Facebook Audience SDK integration for React Native","fork":false,"url":"https://api.github.com/repos/callstack-io/react-native-fbads","forks_url":"https://api.github.com/repos/callstack-io/react-native-fbads/forks","keys_url":"https://api.github.com/repos/callstack-io/react-native-fbads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callstack-io/react-native-fbads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callstack-io/react-native-fbads/teams","hooks_url":"https://api.github.com/repos/callstack-io/react-native-fbads/hooks","issue_events_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/events{/number}","events_url":"https://api.github.com/repos/callstack-io/react-native-fbads/events","assignees_url":"https://api.github.com/repos/callstack-io/react-native-fbads/assignees{/user}","branches_url":"https://api.github.com/repos/callstack-io/react-native-fbads/branches{/branch}","tags_url":"https://api.github.com/repos/callstack-io/react-native-fbads/tags","blobs_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/refs{/sha}","trees_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callstack-io/react-native-fbads/statuses/{sha}","languages_url":"https://api.github.com/repos/callstack-io/react-native-fbads/languages","stargazers_url":"https://api.github.com/repos/callstack-io/react-native-fbads/stargazers","contributors_url":"https://api.github.com/repos/callstack-io/react-native-fbads/contributors","subscribers_url":"https://api.github.com/repos/callstack-io/react-native-fbads/subscribers","subscription_url":"https://api.github.com/repos/callstack-io/react-native-fbads/subscription","commits_url":"https://api.github.com/repos/callstack-io/react-native-fbads/commits{/sha}","git_commits_url":"https://api.github.com/repos/callstack-io/react-native-fbads/git/commits{/sha}","comments_url":"https://api.github.com/repos/callstack-io/react-native-fbads/comments{/number}","issue_comment_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/comments{/number}","contents_url":"https://api.github.com/repos/callstack-io/react-native-fbads/contents/{+path}","compare_url":"https://api.github.com/repos/callstack-io/react-native-fbads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callstack-io/react-native-fbads/merges","archive_url":"https://api.github.com/repos/callstack-io/react-native-fbads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callstack-io/react-native-fbads/downloads","issues_url":"https://api.github.com/repos/callstack-io/react-native-fbads/issues{/number}","pulls_url":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls{/number}","milestones_url":"https://api.github.com/repos/callstack-io/react-native-fbads/milestones{/number}","notifications_url":"https://api.github.com/repos/callstack-io/react-native-fbads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callstack-io/react-native-fbads/labels{/name}","releases_url":"https://api.github.com/repos/callstack-io/react-native-fbads/releases{/id}","deployments_url":"https://api.github.com/repos/callstack-io/react-native-fbads/deployments","created_at":"2016-09-24T12:46:21Z","updated_at":"2017-02-15T10:19:49Z","pushed_at":"2017-02-16T10:00:05Z","git_url":"git://github.com/callstack-io/react-native-fbads.git","ssh_url":"git@github.com:callstack-io/react-native-fbads.git","clone_url":"https://github.com/callstack-io/react-native-fbads.git","svn_url":"https://github.com/callstack-io/react-native-fbads","homepage":"","size":249,"stargazers_count":87,"watchers_count":87,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":11,"forks":12,"open_issues":11,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39"},"html":{"href":"https://github.com/callstack-io/react-native-fbads/pull/39"},"issue":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/39"},"comments":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/callstack-io/react-native-fbads/statuses/b4069665c2509211db44929687522dd05a3959c7"}}}}
{"actor":{"display_login":"grabbou"}}