Barcode scanner

Hey All,

I need to integrate a barcode scanner into my application,
i added the native plugin, installed zxing library in eclipse and able to run the application on android
my issue is when i click the barcode button i have the barcode scanner poping up but it keeps scanning for ever i tried many types of barcode but not able once to receive a result
i tried to press the back button and check the data returned i receive empty text and format inside the returned object

and also i have no errors in the console

any idea how this could be solved ?

here’s my environment

Ionic Framework Version: 2.0.0-beta.9
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
OS: Windows 8.1
Node Version: v4.4.5

and here’s the code i’m using

    this.platform.ready().then(() => {
        BarcodeScanner.scan().then(
            (result) => {
                this.nav.present(Alert.create({
                    title: "Scan Results",
                    subTitle: result.text,
                    buttons: ["Close"]
                }));
            }, (error) => {
                this.nav.present(Alert.create({
                    title: "Attention!",
                    subTitle: error,
                    buttons: ["Close"]
                }));
            }
        );
    });

Regards