angularjs - Cordova BarcodeScanner not working on iOS 8 -


i'm using ionic framework barcodescanner plugin.

the barcodescanner working fine on ipad , iphone 4 running ios7, today tested on iphone 5 , 6 running ios8 , scanner doesn't show up, neither shows errors. code i'm using in controller, simple.

$cordovabarcodescanner.scan().then(function(imagedata) {             if (imagedata.cancelled) {                 return;             }              console.log("we got barcode" +                 "result: " + imagedata.text + "n" +                 "format: " + imagedata.format + "n" +                 "cancelled: " + imagedata.cancelled);          }, function(error) {             console.log("an error happened -> " + error);         }); 

i've been trying research issue hours , haven't found yet.

do think have add kind of permission use camera on iphone? or different?


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -