{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments/46653523","id":46653523,"diff_hunk":"@@ -302,7 +302,7 @@ The algorithm of this method is the following:\n     - If the update is not mandatory and the confirmMessage is set in options, the user will be asked if they want to update to the latest version. If they decline, the syncCallback will be invoked with SyncStatus.UPDATE_IGNORED status.\n     - Otherwise, the update package will be downloaded and applied with no user interaction.\n - If no update is available on the server, the syncCallback will be invoked with the SyncStatus.UP_TO_DATE status.\n-- If an error ocurrs during checking for update, downloading or applying it, the syncCallback will be invoked with the SyncStatus.ERROR status.\n+- If an error ocurrs during checking for update, downloading or installing it, the syncCallback will be invoked with the SyncStatus.ERROR status.","path":"README.md","position":160,"original_position":112,"commit_id":"98d991ee8e0d93e6ec677d06e33caef333fe565c","original_commit_id":"35bffbe6c71147d4e8f55ac7903638c7ed3ca2c3","user":{"login":"dlebu","id":12283206,"avatar_url":"https://avatars.githubusercontent.com/u/12283206?v=3","gravatar_id":"","url":"https://api.github.com/users/dlebu","html_url":"https://github.com/dlebu","followers_url":"https://api.github.com/users/dlebu/followers","following_url":"https://api.github.com/users/dlebu/following{/other_user}","gists_url":"https://api.github.com/users/dlebu/gists{/gist_id}","starred_url":"https://api.github.com/users/dlebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlebu/subscriptions","organizations_url":"https://api.github.com/users/dlebu/orgs","repos_url":"https://api.github.com/users/dlebu/repos","events_url":"https://api.github.com/users/dlebu/events{/privacy}","received_events_url":"https://api.github.com/users/dlebu/received_events","type":"User","site_admin":false},"body":"Fixed. I had a lot of occurrences in the project. :+1: ","created_at":"2015-12-04T06:46:03Z","updated_at":"2015-12-04T06:46:03Z","html_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/47#discussion_r46653523","pull_request_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments/46653523"},"html":{"href":"https://github.com/Microsoft/cordova-plugin-code-push/pull/47#discussion_r46653523"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47","id":52581086,"html_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/47","diff_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/47.diff","patch_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/47.patch","issue_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/47","number":47,"state":"open","locked":false,"title":"Download progress, apply on resume/restart, refactoring","user":{"login":"dlebu","id":12283206,"avatar_url":"https://avatars.githubusercontent.com/u/12283206?v=3","gravatar_id":"","url":"https://api.github.com/users/dlebu","html_url":"https://github.com/dlebu","followers_url":"https://api.github.com/users/dlebu/followers","following_url":"https://api.github.com/users/dlebu/following{/other_user}","gists_url":"https://api.github.com/users/dlebu/gists{/gist_id}","starred_url":"https://api.github.com/users/dlebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlebu/subscriptions","organizations_url":"https://api.github.com/users/dlebu/orgs","repos_url":"https://api.github.com/users/dlebu/repos","events_url":"https://api.github.com/users/dlebu/events{/privacy}","received_events_url":"https://api.github.com/users/dlebu/received_events","type":"User","site_admin":false},"body":"Added:\r\n- Download progress callback\r\n- Silent apply on resume/restart\r\n- Custom deployment key option for `sync` and `checkForUpdate`\r\n- Renamed `apply` to `install`\r\n- Refactored native code to isolate Cordova dependencies\r\n- Tests\r\n\r\n@lostintangent @nisheetjain @dtivel @geof90 @silhouettes \r\n\r\nI still need to update the documentation.","created_at":"2015-12-03T19:35:56Z","updated_at":"2015-12-04T06:46:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e61b26c015c8b3a703dfbad5c087a6a3a9cf502a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47/commits","review_comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47/comments","review_comment_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/47/comments","statuses_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/98d991ee8e0d93e6ec677d06e33caef333fe565c","head":{"label":"Microsoft:download-progress","ref":"download-progress","sha":"98d991ee8e0d93e6ec677d06e33caef333fe565c","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":41043374,"name":"cordova-plugin-code-push","full_name":"Microsoft/cordova-plugin-code-push","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/cordova-plugin-code-push","description":"Apache Cordova plugin for CodePush http://microsoft.github.io/code-push/","fork":false,"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push","forks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/forks","keys_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/teams","hooks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/events","assignees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/tags","blobs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/languages","stargazers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscription","commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/merges","archive_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/downloads","issues_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/releases{/id}","created_at":"2015-08-19T15:40:12Z","updated_at":"2015-12-01T15:24:39Z","pushed_at":"2015-12-04T06:29:25Z","git_url":"git://github.com/Microsoft/cordova-plugin-code-push.git","ssh_url":"git@github.com:Microsoft/cordova-plugin-code-push.git","clone_url":"https://github.com/Microsoft/cordova-plugin-code-push.git","svn_url":"https://github.com/Microsoft/cordova-plugin-code-push","homepage":null,"size":339,"stargazers_count":48,"watchers_count":48,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":48,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"f2ea35405a2bf4333beb47fc40a9d94a2a4ea9e5","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":41043374,"name":"cordova-plugin-code-push","full_name":"Microsoft/cordova-plugin-code-push","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/cordova-plugin-code-push","description":"Apache Cordova plugin for CodePush http://microsoft.github.io/code-push/","fork":false,"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push","forks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/forks","keys_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/teams","hooks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/events","assignees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/tags","blobs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/languages","stargazers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscription","commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/merges","archive_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/downloads","issues_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/releases{/id}","created_at":"2015-08-19T15:40:12Z","updated_at":"2015-12-01T15:24:39Z","pushed_at":"2015-12-04T06:29:25Z","git_url":"git://github.com/Microsoft/cordova-plugin-code-push.git","ssh_url":"git@github.com:Microsoft/cordova-plugin-code-push.git","clone_url":"https://github.com/Microsoft/cordova-plugin-code-push.git","svn_url":"https://github.com/Microsoft/cordova-plugin-code-push","homepage":null,"size":339,"stargazers_count":48,"watchers_count":48,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47"},"html":{"href":"https://github.com/Microsoft/cordova-plugin-code-push/pull/47"},"issue":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/47"},"comments":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/98d991ee8e0d93e6ec677d06e33caef333fe565c"}}}}