phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.42k forks source link

Can't close scanner within a service #747

Closed l3vick closed 5 years ago

l3vick commented 5 years ago

I am using barcode scanner to read QR while a service is running on background to receive instant payments.

I am receiving the payment and I thought I could fire an event subscribed in the page where the barcode is scanning. The event is also correctly fired but the camera is not closed with this.navCtrl.pop(). and if I alert something is displayed behind the CaptureActivity

Is there any way to close the Scanner without "scanning" ?

Thanks in advance.

PimentelKJ commented 5 years ago

I also would like to be able to do this.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cbxp commented 5 years ago

+1

We also need to close barcode scanner automatically when user session expires.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lock[bot] commented 5 years ago

This thread has been automatically locked.