{"action":"created","comment":{"url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/comments/48196707","id":48196707,"diff_hunk":"@@ -66,14 +67,16 @@ - (NSArray*)excludedActivitiesForKeys:(NSArray*)passedKeys {\n         }\n     }\n     \n+    if (imageBase64) {\n+        imageData = [[NSData alloc] initWithBase64EncodedString:imageBase64 options:NSDataBase64DecodingIgnoreUnknownCharacters];\n+    }\n     \n     // Return if no args were passed\n     if (!text && !url && !image && !imageData) {\n-        RCTLogError(@\"[ActivityView] You must specify a text, url, image and/or imageUrl.\");\n+        RCTLogError(@\"[ActivityView] You must specify a text, url, image, base64Image and/or imageUrl.\");","path":"ActivityView.m","position":21,"original_position":21,"commit_id":"42d8495619e36409043997d3a42a6e39c58d5f64","original_commit_id":"42d8495619e36409043997d3a42a6e39c58d5f64","user":{"login":"naoufal","id":1627824,"avatar_url":"https://avatars.githubusercontent.com/u/1627824?v=3","gravatar_id":"","url":"https://api.github.com/users/naoufal","html_url":"https://github.com/naoufal","followers_url":"https://api.github.com/users/naoufal/followers","following_url":"https://api.github.com/users/naoufal/following{/other_user}","gists_url":"https://api.github.com/users/naoufal/gists{/gist_id}","starred_url":"https://api.github.com/users/naoufal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoufal/subscriptions","organizations_url":"https://api.github.com/users/naoufal/orgs","repos_url":"https://api.github.com/users/naoufal/repos","events_url":"https://api.github.com/users/naoufal/events{/privacy}","received_events_url":"https://api.github.com/users/naoufal/received_events","type":"User","site_admin":false},"body":"Could you rename this to `imageBase64` to be consistent with `imageUrl`","created_at":"2015-12-21T21:52:56Z","updated_at":"2015-12-21T21:52:56Z","html_url":"https://github.com/naoufal/react-native-activity-view/pull/27#discussion_r48196707","pull_request_url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/comments/48196707"},"html":{"href":"https://github.com/naoufal/react-native-activity-view/pull/27#discussion_r48196707"},"pull_request":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27","id":54279494,"html_url":"https://github.com/naoufal/react-native-activity-view/pull/27","diff_url":"https://github.com/naoufal/react-native-activity-view/pull/27.diff","patch_url":"https://github.com/naoufal/react-native-activity-view/pull/27.patch","issue_url":"https://api.github.com/repos/naoufal/react-native-activity-view/issues/27","number":27,"state":"open","locked":false,"title":"Allowing for base64ImageData","user":{"login":"dlafeir","id":5386520,"avatar_url":"https://avatars.githubusercontent.com/u/5386520?v=3","gravatar_id":"","url":"https://api.github.com/users/dlafeir","html_url":"https://github.com/dlafeir","followers_url":"https://api.github.com/users/dlafeir/followers","following_url":"https://api.github.com/users/dlafeir/following{/other_user}","gists_url":"https://api.github.com/users/dlafeir/gists{/gist_id}","starred_url":"https://api.github.com/users/dlafeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlafeir/subscriptions","organizations_url":"https://api.github.com/users/dlafeir/orgs","repos_url":"https://api.github.com/users/dlafeir/repos","events_url":"https://api.github.com/users/dlafeir/events{/privacy}","received_events_url":"https://api.github.com/users/dlafeir/received_events","type":"User","site_admin":false},"body":"I found a need to submit the base64 image data because the image was not accessible straightforward via url. I could have saved the image locally and worried about deleting it immediately after sharing but this seemed a little easier. ","created_at":"2015-12-21T17:06:17Z","updated_at":"2015-12-21T21:52:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2046e4100d9e72d66995a25c023f9459745243c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27/commits","review_comments_url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27/comments","review_comment_url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/comments{/number}","comments_url":"https://api.github.com/repos/naoufal/react-native-activity-view/issues/27/comments","statuses_url":"https://api.github.com/repos/naoufal/react-native-activity-view/statuses/42d8495619e36409043997d3a42a6e39c58d5f64","head":{"label":"dlafeir:master","ref":"master","sha":"42d8495619e36409043997d3a42a6e39c58d5f64","user":{"login":"dlafeir","id":5386520,"avatar_url":"https://avatars.githubusercontent.com/u/5386520?v=3","gravatar_id":"","url":"https://api.github.com/users/dlafeir","html_url":"https://github.com/dlafeir","followers_url":"https://api.github.com/users/dlafeir/followers","following_url":"https://api.github.com/users/dlafeir/following{/other_user}","gists_url":"https://api.github.com/users/dlafeir/gists{/gist_id}","starred_url":"https://api.github.com/users/dlafeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlafeir/subscriptions","organizations_url":"https://api.github.com/users/dlafeir/orgs","repos_url":"https://api.github.com/users/dlafeir/repos","events_url":"https://api.github.com/users/dlafeir/events{/privacy}","received_events_url":"https://api.github.com/users/dlafeir/received_events","type":"User","site_admin":false},"repo":{"id":48260288,"name":"react-native-activity-view","full_name":"dlafeir/react-native-activity-view","owner":{"login":"dlafeir","id":5386520,"avatar_url":"https://avatars.githubusercontent.com/u/5386520?v=3","gravatar_id":"","url":"https://api.github.com/users/dlafeir","html_url":"https://github.com/dlafeir","followers_url":"https://api.github.com/users/dlafeir/followers","following_url":"https://api.github.com/users/dlafeir/following{/other_user}","gists_url":"https://api.github.com/users/dlafeir/gists{/gist_id}","starred_url":"https://api.github.com/users/dlafeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlafeir/subscriptions","organizations_url":"https://api.github.com/users/dlafeir/orgs","repos_url":"https://api.github.com/users/dlafeir/repos","events_url":"https://api.github.com/users/dlafeir/events{/privacy}","received_events_url":"https://api.github.com/users/dlafeir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlafeir/react-native-activity-view","description":"iOS share and action sheets for React Native","fork":true,"url":"https://api.github.com/repos/dlafeir/react-native-activity-view","forks_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/forks","keys_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/teams","hooks_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/hooks","issue_events_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/issues/events{/number}","events_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/events","assignees_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/assignees{/user}","branches_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/branches{/branch}","tags_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/tags","blobs_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/statuses/{sha}","languages_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/languages","stargazers_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/stargazers","contributors_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/contributors","subscribers_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/subscribers","subscription_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/subscription","commits_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/contents/{+path}","compare_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/merges","archive_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/downloads","issues_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/issues{/number}","pulls_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/pulls{/number}","milestones_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/milestones{/number}","notifications_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/labels{/name}","releases_url":"https://api.github.com/repos/dlafeir/react-native-activity-view/releases{/id}","created_at":"2015-12-18T23:00:47Z","updated_at":"2015-12-18T23:00:47Z","pushed_at":"2015-12-21T16:59:17Z","git_url":"git://github.com/dlafeir/react-native-activity-view.git","ssh_url":"git@github.com:dlafeir/react-native-activity-view.git","clone_url":"https://github.com/dlafeir/react-native-activity-view.git","svn_url":"https://github.com/dlafeir/react-native-activity-view","homepage":"https://www.npmjs.com/package/react-native-activity-view","size":26,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"naoufal:master","ref":"master","sha":"8f37c1b45ff234273c5d529fa0cfa3786472e99f","user":{"login":"naoufal","id":1627824,"avatar_url":"https://avatars.githubusercontent.com/u/1627824?v=3","gravatar_id":"","url":"https://api.github.com/users/naoufal","html_url":"https://github.com/naoufal","followers_url":"https://api.github.com/users/naoufal/followers","following_url":"https://api.github.com/users/naoufal/following{/other_user}","gists_url":"https://api.github.com/users/naoufal/gists{/gist_id}","starred_url":"https://api.github.com/users/naoufal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoufal/subscriptions","organizations_url":"https://api.github.com/users/naoufal/orgs","repos_url":"https://api.github.com/users/naoufal/repos","events_url":"https://api.github.com/users/naoufal/events{/privacy}","received_events_url":"https://api.github.com/users/naoufal/received_events","type":"User","site_admin":false},"repo":{"id":37004490,"name":"react-native-activity-view","full_name":"naoufal/react-native-activity-view","owner":{"login":"naoufal","id":1627824,"avatar_url":"https://avatars.githubusercontent.com/u/1627824?v=3","gravatar_id":"","url":"https://api.github.com/users/naoufal","html_url":"https://github.com/naoufal","followers_url":"https://api.github.com/users/naoufal/followers","following_url":"https://api.github.com/users/naoufal/following{/other_user}","gists_url":"https://api.github.com/users/naoufal/gists{/gist_id}","starred_url":"https://api.github.com/users/naoufal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoufal/subscriptions","organizations_url":"https://api.github.com/users/naoufal/orgs","repos_url":"https://api.github.com/users/naoufal/repos","events_url":"https://api.github.com/users/naoufal/events{/privacy}","received_events_url":"https://api.github.com/users/naoufal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/naoufal/react-native-activity-view","description":"iOS share and action sheets for React Native","fork":false,"url":"https://api.github.com/repos/naoufal/react-native-activity-view","forks_url":"https://api.github.com/repos/naoufal/react-native-activity-view/forks","keys_url":"https://api.github.com/repos/naoufal/react-native-activity-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/naoufal/react-native-activity-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/naoufal/react-native-activity-view/teams","hooks_url":"https://api.github.com/repos/naoufal/react-native-activity-view/hooks","issue_events_url":"https://api.github.com/repos/naoufal/react-native-activity-view/issues/events{/number}","events_url":"https://api.github.com/repos/naoufal/react-native-activity-view/events","assignees_url":"https://api.github.com/repos/naoufal/react-native-activity-view/assignees{/user}","branches_url":"https://api.github.com/repos/naoufal/react-native-activity-view/branches{/branch}","tags_url":"https://api.github.com/repos/naoufal/react-native-activity-view/tags","blobs_url":"https://api.github.com/repos/naoufal/react-native-activity-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/naoufal/react-native-activity-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/naoufal/react-native-activity-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/naoufal/react-native-activity-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/naoufal/react-native-activity-view/statuses/{sha}","languages_url":"https://api.github.com/repos/naoufal/react-native-activity-view/languages","stargazers_url":"https://api.github.com/repos/naoufal/react-native-activity-view/stargazers","contributors_url":"https://api.github.com/repos/naoufal/react-native-activity-view/contributors","subscribers_url":"https://api.github.com/repos/naoufal/react-native-activity-view/subscribers","subscription_url":"https://api.github.com/repos/naoufal/react-native-activity-view/subscription","commits_url":"https://api.github.com/repos/naoufal/react-native-activity-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/naoufal/react-native-activity-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/naoufal/react-native-activity-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/naoufal/react-native-activity-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/naoufal/react-native-activity-view/contents/{+path}","compare_url":"https://api.github.com/repos/naoufal/react-native-activity-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/naoufal/react-native-activity-view/merges","archive_url":"https://api.github.com/repos/naoufal/react-native-activity-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/naoufal/react-native-activity-view/downloads","issues_url":"https://api.github.com/repos/naoufal/react-native-activity-view/issues{/number}","pulls_url":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls{/number}","milestones_url":"https://api.github.com/repos/naoufal/react-native-activity-view/milestones{/number}","notifications_url":"https://api.github.com/repos/naoufal/react-native-activity-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/naoufal/react-native-activity-view/labels{/name}","releases_url":"https://api.github.com/repos/naoufal/react-native-activity-view/releases{/id}","created_at":"2015-06-07T04:25:13Z","updated_at":"2015-12-20T21:47:04Z","pushed_at":"2015-12-21T17:06:17Z","git_url":"git://github.com/naoufal/react-native-activity-view.git","ssh_url":"git@github.com:naoufal/react-native-activity-view.git","clone_url":"https://github.com/naoufal/react-native-activity-view.git","svn_url":"https://github.com/naoufal/react-native-activity-view","homepage":"https://www.npmjs.com/package/react-native-activity-view","size":298,"stargazers_count":125,"watchers_count":125,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27"},"html":{"href":"https://github.com/naoufal/react-native-activity-view/pull/27"},"issue":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/issues/27"},"comments":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/naoufal/react-native-activity-view/statuses/42d8495619e36409043997d3a42a6e39c58d5f64"}}}}