{"action":"opened","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-barcodescanner/issues/290","repository_url":"https://api.github.com/repos/phonegap/phonegap-plugin-barcodescanner","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-barcodescanner/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-barcodescanner/issues/290/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-barcodescanner/issues/290/events","html_url":"https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/290","id":166848287,"number":290,"title":"Can not can Barcode on Windows 10","user":{"login":"Z3roCoder","id":10726046,"avatar_url":"https://avatars.githubusercontent.com/u/10726046?v=3","gravatar_id":"","url":"https://api.github.com/users/Z3roCoder","html_url":"https://github.com/Z3roCoder","followers_url":"https://api.github.com/users/Z3roCoder/followers","following_url":"https://api.github.com/users/Z3roCoder/following{/other_user}","gists_url":"https://api.github.com/users/Z3roCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/Z3roCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Z3roCoder/subscriptions","organizations_url":"https://api.github.com/users/Z3roCoder/orgs","repos_url":"https://api.github.com/users/Z3roCoder/repos","events_url":"https://api.github.com/users/Z3roCoder/events{/privacy}","received_events_url":"https://api.github.com/users/Z3roCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-21T15:27:54Z","updated_at":"2016-07-21T15:27:54Z","closed_at":null,"body":"Alright, so I have created a sample project. This merely includes those things:\r\n\r\n`.controller(\"ExampleController\", function ($scope, $cordovaBarcodeScanner) {\r\n    $scope.scanBarcode = function () {\r\n        $cordovaBarcodeScanner.scan().then(function (imageData) {\r\n            alert(imageData.text);\r\n            console.log(\"Barcode Format -> \" + imageData.format);\r\n            console.log(\"Cancelled -> \" + imageData.cancelled);\r\n        }, function (error) {\r\n            console.log(\"An error happened -> \" + error);\r\n        });\r\n    };\r\n});\r\n`\r\n\r\nand\r\n\r\n`<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n        <meta charset=\"utf-8\">\r\n        <meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width\">\r\n        <title>Test</title>\r\n        <link href=\"lib/ionic/css/ionic.css\" rel=\"stylesheet\">\r\n        <link href=\"css/style.css\" rel=\"stylesheet\">\r\n        <script src=\"lib/ionic/js/ionic.bundle.js\"></script>\r\n        <script src=\"js/ng-cordova.min.js\"></script>\r\n        <script src=\"cordova.js\"></script>\r\n        <script src=\"js/app.js\"></script>\r\n    </head>\r\n    <body ng-app=\"starter\" ng-controller=\"ExampleController\">\r\n\r\n    <ion-pane>\r\n      <ion-header-bar class=\"bar-stable\">\r\n        <h1 class=\"title\">Ionic Blank Starter</h1>\r\n      </ion-header-bar>\r\n      <ion-content>\r\n        <button ng-click=\"scanBarcode()\">This is a test to scan the barcode</button>\r\n        \r\n      </ion-content>\r\n    </ion-pane>\r\n  </body>\r\n</html>\r\n`\r\nThe command I use to run it is \"ionic build browser --archs=x64\r\nAll Software (ionic, cordova, plugin) is up-to-date\r\n\r\nDoes anyone else experience this behaviour?"}}
{"actor":{"display_login":"Z3roCoder"}}