{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/32","id":40155150,"html_url":"https://github.com/pwlin/cordova-plugin-file-opener2/pull/32","diff_url":"https://github.com/pwlin/cordova-plugin-file-opener2/pull/32.diff","patch_url":"https://github.com/pwlin/cordova-plugin-file-opener2/pull/32.patch","issue_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues/32","number":32,"state":"closed","locked":false,"title":"Windows: Use default application instead of showing app chooser","user":{"login":"ielcoro","id":587365,"avatar_url":"https://avatars.githubusercontent.com/u/587365?v=3","gravatar_id":"","url":"https://api.github.com/users/ielcoro","html_url":"https://github.com/ielcoro","followers_url":"https://api.github.com/users/ielcoro/followers","following_url":"https://api.github.com/users/ielcoro/following{/other_user}","gists_url":"https://api.github.com/users/ielcoro/gists{/gist_id}","starred_url":"https://api.github.com/users/ielcoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ielcoro/subscriptions","organizations_url":"https://api.github.com/users/ielcoro/orgs","repos_url":"https://api.github.com/users/ielcoro/repos","events_url":"https://api.github.com/users/ielcoro/events{/privacy}","received_events_url":"https://api.github.com/users/ielcoro/received_events","type":"User","site_admin":false},"body":"The current code, forces to choose always an app when opening files. This is very uncommon, by default, the associated app should be opened without user interaction.\r\n\r\nThe problem lies on passing *displayApplicationPicker = true* to **Windows.System.LauncherOptions**, forcing to show the application picker, regardless of default file associations. This option was designed to be used as a alternative open option for the user (Open With...), as can be read on [MSDN](https://msdn.microsoft.com/en-us/library/windows/apps/windows.system.launcheroptions.displayapplicationpicker):\r\n\r\n>You should use the Open With dialog box when the user may want to select an app other than the default for a particular file. For example if your app allows the user to launch an image file, the default handler will likely be a viewer app. In some cases the user may want to edit the image instead of viewing it. Use the Open With option along with an alternative command in the AppBar or in a context menu to let the user bring up the Open With dialog and select the editor app in these types of scenarios.\r\n\r\nThis pull request fix that by removing options.displayApplicationPicker = true line from fileOpener2Proxy.js","created_at":"2015-07-16T17:36:33Z","updated_at":"2015-10-19T10:25:01Z","closed_at":"2015-10-19T10:25:01Z","merged_at":null,"merge_commit_sha":"1a8c0d55eb35731cee30642253203d0ca21facfe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/32/commits","review_comments_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/32/comments","review_comment_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues/32/comments","statuses_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/statuses/91c5a84c85e15438d27842c274f5ad9629c15c79","head":{"label":"ielcoro:feature/OpenWithDefaultApp","ref":"feature/OpenWithDefaultApp","sha":"91c5a84c85e15438d27842c274f5ad9629c15c79","user":{"login":"ielcoro","id":587365,"avatar_url":"https://avatars.githubusercontent.com/u/587365?v=3","gravatar_id":"","url":"https://api.github.com/users/ielcoro","html_url":"https://github.com/ielcoro","followers_url":"https://api.github.com/users/ielcoro/followers","following_url":"https://api.github.com/users/ielcoro/following{/other_user}","gists_url":"https://api.github.com/users/ielcoro/gists{/gist_id}","starred_url":"https://api.github.com/users/ielcoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ielcoro/subscriptions","organizations_url":"https://api.github.com/users/ielcoro/orgs","repos_url":"https://api.github.com/users/ielcoro/repos","events_url":"https://api.github.com/users/ielcoro/events{/privacy}","received_events_url":"https://api.github.com/users/ielcoro/received_events","type":"User","site_admin":false},"repo":{"id":39191123,"name":"cordova-plugin-file-opener2","full_name":"ielcoro/cordova-plugin-file-opener2","owner":{"login":"ielcoro","id":587365,"avatar_url":"https://avatars.githubusercontent.com/u/587365?v=3","gravatar_id":"","url":"https://api.github.com/users/ielcoro","html_url":"https://github.com/ielcoro","followers_url":"https://api.github.com/users/ielcoro/followers","following_url":"https://api.github.com/users/ielcoro/following{/other_user}","gists_url":"https://api.github.com/users/ielcoro/gists{/gist_id}","starred_url":"https://api.github.com/users/ielcoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ielcoro/subscriptions","organizations_url":"https://api.github.com/users/ielcoro/orgs","repos_url":"https://api.github.com/users/ielcoro/repos","events_url":"https://api.github.com/users/ielcoro/events{/privacy}","received_events_url":"https://api.github.com/users/ielcoro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ielcoro/cordova-plugin-file-opener2","description":"A File Opener Plugin for Cordova","fork":true,"url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2","forks_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/forks","keys_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/teams","hooks_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/hooks","issue_events_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/issues/events{/number}","events_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/events","assignees_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/assignees{/user}","branches_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/branches{/branch}","tags_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/tags","blobs_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/statuses/{sha}","languages_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/languages","stargazers_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/stargazers","contributors_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/contributors","subscribers_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/subscribers","subscription_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/subscription","commits_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/contents/{+path}","compare_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/merges","archive_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/downloads","issues_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/issues{/number}","pulls_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/pulls{/number}","milestones_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/milestones{/number}","notifications_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/labels{/name}","releases_url":"https://api.github.com/repos/ielcoro/cordova-plugin-file-opener2/releases{/id}","created_at":"2015-07-16T10:32:58Z","updated_at":"2015-07-16T10:32:58Z","pushed_at":"2015-07-16T17:49:07Z","git_url":"git://github.com/ielcoro/cordova-plugin-file-opener2.git","ssh_url":"git@github.com:ielcoro/cordova-plugin-file-opener2.git","clone_url":"https://github.com/ielcoro/cordova-plugin-file-opener2.git","svn_url":"https://github.com/ielcoro/cordova-plugin-file-opener2","homepage":null,"size":128,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"pwlin:master","ref":"master","sha":"01c0900696f4bff1a20c4f3af40dcf962cc439b5","user":{"login":"pwlin","id":160443,"avatar_url":"https://avatars.githubusercontent.com/u/160443?v=3","gravatar_id":"","url":"https://api.github.com/users/pwlin","html_url":"https://github.com/pwlin","followers_url":"https://api.github.com/users/pwlin/followers","following_url":"https://api.github.com/users/pwlin/following{/other_user}","gists_url":"https://api.github.com/users/pwlin/gists{/gist_id}","starred_url":"https://api.github.com/users/pwlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwlin/subscriptions","organizations_url":"https://api.github.com/users/pwlin/orgs","repos_url":"https://api.github.com/users/pwlin/repos","events_url":"https://api.github.com/users/pwlin/events{/privacy}","received_events_url":"https://api.github.com/users/pwlin/received_events","type":"User","site_admin":false},"repo":{"id":16693419,"name":"cordova-plugin-file-opener2","full_name":"pwlin/cordova-plugin-file-opener2","owner":{"login":"pwlin","id":160443,"avatar_url":"https://avatars.githubusercontent.com/u/160443?v=3","gravatar_id":"","url":"https://api.github.com/users/pwlin","html_url":"https://github.com/pwlin","followers_url":"https://api.github.com/users/pwlin/followers","following_url":"https://api.github.com/users/pwlin/following{/other_user}","gists_url":"https://api.github.com/users/pwlin/gists{/gist_id}","starred_url":"https://api.github.com/users/pwlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwlin/subscriptions","organizations_url":"https://api.github.com/users/pwlin/orgs","repos_url":"https://api.github.com/users/pwlin/repos","events_url":"https://api.github.com/users/pwlin/events{/privacy}","received_events_url":"https://api.github.com/users/pwlin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwlin/cordova-plugin-file-opener2","description":"A File Opener Plugin for Cordova","fork":false,"url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2","forks_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/forks","keys_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/teams","hooks_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/hooks","issue_events_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues/events{/number}","events_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/events","assignees_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/assignees{/user}","branches_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/branches{/branch}","tags_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/tags","blobs_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/statuses/{sha}","languages_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/languages","stargazers_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/stargazers","contributors_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/contributors","subscribers_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/subscribers","subscription_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/subscription","commits_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/contents/{+path}","compare_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/merges","archive_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/downloads","issues_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues{/number}","pulls_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls{/number}","milestones_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/milestones{/number}","notifications_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/labels{/name}","releases_url":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/releases{/id}","created_at":"2014-02-10T11:33:30Z","updated_at":"2015-10-16T18:35:29Z","pushed_at":"2015-10-19T10:23:58Z","git_url":"git://github.com/pwlin/cordova-plugin-file-opener2.git","ssh_url":"git@github.com:pwlin/cordova-plugin-file-opener2.git","clone_url":"https://github.com/pwlin/cordova-plugin-file-opener2.git","svn_url":"https://github.com/pwlin/cordova-plugin-file-opener2","homepage":null,"size":392,"stargazers_count":41,"watchers_count":41,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":11,"forks":49,"open_issues":11,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/32"},"html":{"href":"https://github.com/pwlin/cordova-plugin-file-opener2/pull/32"},"issue":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues/32"},"comments":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/pwlin/cordova-plugin-file-opener2/statuses/91c5a84c85e15438d27842c274f5ad9629c15c79"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}