{"action":"reopened","issue":{"url":"https://api.github.com/repos/xseignard/cordovarduino/issues/33","labels_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/33/comments","events_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/33/events","html_url":"https://github.com/xseignard/cordovarduino/issues/33","id":96753424,"number":33,"title":"phonegap is not calling serial.requestpermission","user":{"login":"harshali893","id":13464040,"avatar_url":"https://avatars.githubusercontent.com/u/13464040?v=3","gravatar_id":"","url":"https://api.github.com/users/harshali893","html_url":"https://github.com/harshali893","followers_url":"https://api.github.com/users/harshali893/followers","following_url":"https://api.github.com/users/harshali893/following{/other_user}","gists_url":"https://api.github.com/users/harshali893/gists{/gist_id}","starred_url":"https://api.github.com/users/harshali893/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshali893/subscriptions","organizations_url":"https://api.github.com/users/harshali893/orgs","repos_url":"https://api.github.com/users/harshali893/repos","events_url":"https://api.github.com/users/harshali893/events{/privacy}","received_events_url":"https://api.github.com/users/harshali893/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T07:47:29Z","updated_at":"2015-07-28T10:17:29Z","closed_at":null,"body":"Hey, I am new to phonegap rather I should say new to html and javascript as well. I am having some work in company. I want to develop android app using phonegap which communicates with usb serial port.\r\nBut serial.requestpermission() is not getting called. I am not getting any error.\r\n\r\nI am just showing relevant code\r\njs/index.js\r\n    function onDeviceReady() {\r\n        window.alert(\"Device is ready!!!\");\r\n        serial.requestPermission({vid: 4292, pid: 60000 },\r\n                                  function success() {\r\n                                    window.alert(\"Success msg!!!\");\r\n                                  },\r\n                                  function error() {\r\n                                    window.alert(\"error msg\");\r\n                                  });\r\n    }\r\n\r\nI am doing something wrong. Please help me out.\r\nThanks in advance."}}