wildabeast / BarcodeScanner

Official repository now at [phonegap/phonegap-plugin-barcodescanner](http://github.com/phonegap/phonegap-plugin-barcodescanner).
966 stars 739 forks source link

Camera Flash #255

Open stereokonserve opened 9 years ago

stereokonserve commented 9 years ago

Sorry i dont know is this the right place to write :( ... I have a Question about the Plugin. Can i use the Cameraflash to scan? I cant find the Flashicon in the Scanwindow.

Thanx for your awesome work b.J

reconka commented 9 years ago

Hi, I forked wildabeast barcode scanner, you can use my version on IOS https://github.com/reconka/BarcodeScanner

augustojsoares commented 9 years ago

Hey there.

As noted by @mackram in issue #275 you can turn the flash on by pressing the volume up key and off by pressing volume down.

Cheers

stereokonserve commented 9 years ago

Hi, at first i wanna say thanks for your help! I try to remove my old Barcodescanner and add your to my project. But the Scanengine dont open ? It seems that you use the same call to the engine like my old scanner. Example: cordova.plugins.barcodeScanner.scan( function (result) { //alert(result.text); success(result.text);

                                              },
                                              function (error) {
                                                  myalert("Scanning failed: " + error, 'alertDismissed', 'Admoveo', 'OK');
                                                  //alert("Scanning failed: " + error);
                                              }
                                              );

if i call this i get nothing the camera dont open ?

do i anything wrong ?

Have a nice day Bernd

From: reconka Sent: Monday, March 16, 2015 1:04 PM To: wildabeast/BarcodeScanner Cc: stereokonserve Subject: Re: [BarcodeScanner] Camera Flash (#255)

Hi, I forked wildabeast barcode scanner, you can use my version on IOS https://github.com/reconka/BarcodeScanner

— Reply to this email directly or view it on GitHub.