$cordovaBarcodeScanner return text is empty


#1

Dear Inic dev

I’m using code at link http://ngcordova.com/docs/plugins/barcodeScanner/ then saw that issue below:

{formay:"",cancelled:1,text:""}

It’s what unhappy with me. Anything help me?

Image scanner http://cdnqrcgde.s3-eu-west-1.amazonaws.com/wp-content/uploads/2013/11/jpeg.jpg

Best regards


#2

you must wrap it on $timeout… it worked on me :slightly_smiling:

  • Cheers