bloxlab / BarcodeScannerWP8

Cordova plugin to enable barcode scanning on Windows Phone 8
6 stars 5 forks source link

onSuccess/onFail not working #6

Open bernland opened 9 years ago

bernland commented 9 years ago

First, I installed ZXing.Net in Visual Studio via the Package Manager Console (PM> Install-Package ZXing.Net).

Then, I added the example code from https://github.com/bloxlab/BarcodeScannerWP8 to my cordova 4.1.2 app.

The camera screen pops up as expected, and after scanning a QR code, the cell phone vibrates. Then, after vibrating, the camera screen closes and the app is displayed again. However, neither onSuccess nor onFail is executed.

What am I doing wrong here?

bloxlab commented 9 years ago

This issue has been posted already and a workaround suggested. See the following https://github.com/bloxlab/BarcodeScannerWP8/issues/4

bernland commented 9 years ago

Thank you, Simon! You were right, the above mentioned workaround fixed the issue. I was just confused because I didn't get to see any of the error messages.