{"action":"created","issue":{"url":"https://api.github.com/repos/wymsee/cordova-imagePicker/issues/53","labels_url":"https://api.github.com/repos/wymsee/cordova-imagePicker/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/wymsee/cordova-imagePicker/issues/53/comments","events_url":"https://api.github.com/repos/wymsee/cordova-imagePicker/issues/53/events","html_url":"https://github.com/wymsee/cordova-imagePicker/issues/53","id":62187825,"number":53,"title":"Unable to set maximumImagescount to 1 in Android","user":{"login":"lichiukenneth","id":11412669,"avatar_url":"https://avatars.githubusercontent.com/u/11412669?v=3","gravatar_id":"","url":"https://api.github.com/users/lichiukenneth","html_url":"https://github.com/lichiukenneth","followers_url":"https://api.github.com/users/lichiukenneth/followers","following_url":"https://api.github.com/users/lichiukenneth/following{/other_user}","gists_url":"https://api.github.com/users/lichiukenneth/gists{/gist_id}","starred_url":"https://api.github.com/users/lichiukenneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lichiukenneth/subscriptions","organizations_url":"https://api.github.com/users/lichiukenneth/orgs","repos_url":"https://api.github.com/users/lichiukenneth/repos","events_url":"https://api.github.com/users/lichiukenneth/events{/privacy}","received_events_url":"https://api.github.com/users/lichiukenneth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T19:38:56Z","updated_at":"2015-03-16T21:50:26Z","closed_at":null,"body":"Set to >= 2 is ok, if set to 1, in android, the following error message appears: \"Get Picture Error: Cannot call method 'getPictures' of undefined\".  My javascript code is as follow:\r\n\r\nfunction MeBtnGetPicture() {\r\n    try {\r\n        window.imagePicker.getPictures(\r\n        function (results) {\r\n            for (var i = 0; i < results.length; i++) {\r\n                alert('Image URI: ' + results[i]);\r\n            }\r\n        }, function (error) {\r\n            alert('Error: ' + error);\r\n        }, {\r\n            maximumImagesCount: 1,\r\n            width: 100\r\n        }\r\n        );\r\n    } catch (err) {\r\n        alert(\"Get Picture Error:\" + err.message);\r\n    }\r\n}"},"comment":{"url":"https://api.github.com/repos/wymsee/cordova-imagePicker/issues/comments/81957055","html_url":"https://github.com/wymsee/cordova-imagePicker/issues/53#issuecomment-81957055","issue_url":"https://api.github.com/repos/wymsee/cordova-imagePicker/issues/53","id":81957055,"user":{"login":"lichiukenneth","id":11412669,"avatar_url":"https://avatars.githubusercontent.com/u/11412669?v=3","gravatar_id":"","url":"https://api.github.com/users/lichiukenneth","html_url":"https://github.com/lichiukenneth","followers_url":"https://api.github.com/users/lichiukenneth/followers","following_url":"https://api.github.com/users/lichiukenneth/following{/other_user}","gists_url":"https://api.github.com/users/lichiukenneth/gists{/gist_id}","starred_url":"https://api.github.com/users/lichiukenneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lichiukenneth/subscriptions","organizations_url":"https://api.github.com/users/lichiukenneth/orgs","repos_url":"https://api.github.com/users/lichiukenneth/repos","events_url":"https://api.github.com/users/lichiukenneth/events{/privacy}","received_events_url":"https://api.github.com/users/lichiukenneth/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T21:50:26Z","updated_at":"2015-03-16T21:50:26Z","body":"Sorry, wrong information!  It can be set to 1.  The real problem is: everytime I build the solution, this function fail at the N + 1 built but succeed at the N + 2 built."}}