{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/12","id":29219589,"html_url":"https://github.com/cordova-sms/cordova-sms-plugin/pull/12","diff_url":"https://github.com/cordova-sms/cordova-sms-plugin/pull/12.diff","patch_url":"https://github.com/cordova-sms/cordova-sms-plugin/pull/12.patch","issue_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/12","number":12,"state":"open","locked":false,"title":"Refactor Android Code","user":{"login":"dbaq","id":1867703,"avatar_url":"https://avatars.githubusercontent.com/u/1867703?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaq","html_url":"https://github.com/dbaq","followers_url":"https://api.github.com/users/dbaq/followers","following_url":"https://api.github.com/users/dbaq/following{/other_user}","gists_url":"https://api.github.com/users/dbaq/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaq/subscriptions","organizations_url":"https://api.github.com/users/dbaq/orgs","repos_url":"https://api.github.com/users/dbaq/repos","events_url":"https://api.github.com/users/dbaq/events{/privacy}","received_events_url":"https://api.github.com/users/dbaq/received_events","type":"User","site_admin":false},"body":"This refactoring is fixing the issues #7 and #10. It is adding a new permission (READ_PHONE_STATE) in order to send multiparts messages from the current intent. It is also fixing the way the callback are managed and called. The success callback is only called when all the parts have been sent.\r\n\r\n","created_at":"2015-02-12T21:48:29Z","updated_at":"2015-02-12T21:48:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"245af3fb3650149399e06edef20493057187909b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/12/commits","review_comments_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/12/comments","review_comment_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/12/comments","statuses_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/statuses/ffcc3f4b7fb11a4901f8b73a508ae99a8bb203a8","head":{"label":"cordova-sms:wip_android_refactoring","ref":"wip_android_refactoring","sha":"ffcc3f4b7fb11a4901f8b73a508ae99a8bb203a8","user":{"login":"cordova-sms","id":10870772,"avatar_url":"https://avatars.githubusercontent.com/u/10870772?v=3","gravatar_id":"","url":"https://api.github.com/users/cordova-sms","html_url":"https://github.com/cordova-sms","followers_url":"https://api.github.com/users/cordova-sms/followers","following_url":"https://api.github.com/users/cordova-sms/following{/other_user}","gists_url":"https://api.github.com/users/cordova-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/cordova-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cordova-sms/subscriptions","organizations_url":"https://api.github.com/users/cordova-sms/orgs","repos_url":"https://api.github.com/users/cordova-sms/repos","events_url":"https://api.github.com/users/cordova-sms/events{/privacy}","received_events_url":"https://api.github.com/users/cordova-sms/received_events","type":"Organization","site_admin":false},"repo":{"id":30372758,"name":"cordova-sms-plugin","full_name":"cordova-sms/cordova-sms-plugin","owner":{"login":"cordova-sms","id":10870772,"avatar_url":"https://avatars.githubusercontent.com/u/10870772?v=3","gravatar_id":"","url":"https://api.github.com/users/cordova-sms","html_url":"https://github.com/cordova-sms","followers_url":"https://api.github.com/users/cordova-sms/followers","following_url":"https://api.github.com/users/cordova-sms/following{/other_user}","gists_url":"https://api.github.com/users/cordova-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/cordova-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cordova-sms/subscriptions","organizations_url":"https://api.github.com/users/cordova-sms/orgs","repos_url":"https://api.github.com/users/cordova-sms/repos","events_url":"https://api.github.com/users/cordova-sms/events{/privacy}","received_events_url":"https://api.github.com/users/cordova-sms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cordova-sms/cordova-sms-plugin","description":"Cross-platform plugin for Cordova / PhoneGap to to easily send SMS. Available for Android, iOS, and Windows Phone 8.","fork":false,"url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin","forks_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/forks","keys_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/teams","hooks_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/hooks","issue_events_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/events","assignees_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/tags","blobs_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/languages","stargazers_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/stargazers","contributors_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/contributors","subscribers_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/subscribers","subscription_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/subscription","commits_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/merges","archive_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/downloads","issues_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/releases{/id}","created_at":"2015-02-05T19:03:29Z","updated_at":"2015-02-12T04:47:54Z","pushed_at":"2015-02-12T20:22:34Z","git_url":"git://github.com/cordova-sms/cordova-sms-plugin.git","ssh_url":"git@github.com:cordova-sms/cordova-sms-plugin.git","clone_url":"https://github.com/cordova-sms/cordova-sms-plugin.git","svn_url":"https://github.com/cordova-sms/cordova-sms-plugin","homepage":"","size":1175,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":6,"default_branch":"master"}},"base":{"label":"cordova-sms:master","ref":"master","sha":"12a36a2cd157ca4984b8a094067edabc6c01ab5d","user":{"login":"cordova-sms","id":10870772,"avatar_url":"https://avatars.githubusercontent.com/u/10870772?v=3","gravatar_id":"","url":"https://api.github.com/users/cordova-sms","html_url":"https://github.com/cordova-sms","followers_url":"https://api.github.com/users/cordova-sms/followers","following_url":"https://api.github.com/users/cordova-sms/following{/other_user}","gists_url":"https://api.github.com/users/cordova-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/cordova-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cordova-sms/subscriptions","organizations_url":"https://api.github.com/users/cordova-sms/orgs","repos_url":"https://api.github.com/users/cordova-sms/repos","events_url":"https://api.github.com/users/cordova-sms/events{/privacy}","received_events_url":"https://api.github.com/users/cordova-sms/received_events","type":"Organization","site_admin":false},"repo":{"id":30372758,"name":"cordova-sms-plugin","full_name":"cordova-sms/cordova-sms-plugin","owner":{"login":"cordova-sms","id":10870772,"avatar_url":"https://avatars.githubusercontent.com/u/10870772?v=3","gravatar_id":"","url":"https://api.github.com/users/cordova-sms","html_url":"https://github.com/cordova-sms","followers_url":"https://api.github.com/users/cordova-sms/followers","following_url":"https://api.github.com/users/cordova-sms/following{/other_user}","gists_url":"https://api.github.com/users/cordova-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/cordova-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cordova-sms/subscriptions","organizations_url":"https://api.github.com/users/cordova-sms/orgs","repos_url":"https://api.github.com/users/cordova-sms/repos","events_url":"https://api.github.com/users/cordova-sms/events{/privacy}","received_events_url":"https://api.github.com/users/cordova-sms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cordova-sms/cordova-sms-plugin","description":"Cross-platform plugin for Cordova / PhoneGap to to easily send SMS. Available for Android, iOS, and Windows Phone 8.","fork":false,"url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin","forks_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/forks","keys_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/teams","hooks_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/hooks","issue_events_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/events","assignees_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/tags","blobs_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/languages","stargazers_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/stargazers","contributors_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/contributors","subscribers_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/subscribers","subscription_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/subscription","commits_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/merges","archive_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/downloads","issues_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/releases{/id}","created_at":"2015-02-05T19:03:29Z","updated_at":"2015-02-12T04:47:54Z","pushed_at":"2015-02-12T20:22:34Z","git_url":"git://github.com/cordova-sms/cordova-sms-plugin.git","ssh_url":"git@github.com:cordova-sms/cordova-sms-plugin.git","clone_url":"https://github.com/cordova-sms/cordova-sms-plugin.git","svn_url":"https://github.com/cordova-sms/cordova-sms-plugin","homepage":"","size":1175,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/12"},"html":{"href":"https://github.com/cordova-sms/cordova-sms-plugin/pull/12"},"issue":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/12"},"comments":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/cordova-sms/cordova-sms-plugin/statuses/ffcc3f4b7fb11a4901f8b73a508ae99a8bb203a8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":49,"deletions":63,"changed_files":2}}