Closed vickynathaiya closed 2 years ago
Which sample are you using?
https://github.com/xulihang/Ionic-Angular-Cordova-Barcode-Scanner
On Tue, 19 Jul 2022 at 13:13, Lihang Xu @.***> wrote:
Which sample are you using?
— Reply to this email directly, view it on GitHub https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1#issuecomment-1188711746, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCT22IBXO7CBQPSCWLIBNLVUZMBVANCNFSM53652NGQ . You are receiving this because you authored the thread.Message ID: <xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1/1188711746@ github.com>
Are you running on iOS or Android? It works fine on iOS 15 and Android 10.
I am running on real android 10.0 device
On Tue, 19 Jul 2022 at 13:43, Lihang Xu @.***> wrote:
Are you running on iOS or Android? It works fine on iOS 15 and Android 10.
— Reply to this email directly, view it on GitHub https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1#issuecomment-1188740638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCT22N34UTYSXMRD5H6MXDVUZPR7ANCNFSM53652NGQ . You are receiving this because you authored the thread.Message ID: <xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1/1188740638@ github.com>
I've updated the sample to install the plugin from npm directly. You can try it again.
still same issue, code not running after let result = await DBR.init(this. license); on barcode-scanner.component.ts
On Tue, 19 Jul 2022 at 14:09, Lihang Xu @.***> wrote:
I've updated the sample to install the plugin from npm directly. You can try it again.
— Reply to this email directly, view it on GitHub https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1#issuecomment-1188767374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCT22OPSJTJJXSHBA3WZVLVUZST5ANCNFSM53652NGQ . You are receiving this because you authored the thread.Message ID: <xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1/1188767374@ github.com>
Please make sure that you've followed the steps in the readme.
I did exact what you write in your read me file,
opened android studio, connect my device and build app on my device
On Tue, 19 Jul 2022 at 14:59, Lihang Xu @.***> wrote:
Please make sure that you've followed the steps in the readme.
— Reply to this email directly, view it on GitHub https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1#issuecomment-1188820571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCT22PTKMQN2HLYTSADGIDVUZYN7ANCNFSM53652NGQ . You are receiving this because you authored the thread.Message ID: <xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1/1188820571@ github.com>
You can check out the logs to see what happened.
I've updated the sample to add the license. You can try it again.
Please note that the plugin puts the camera view behind the webview. The webview is set to transparent so that we can see the camera. You may have to update the styles to see the camera in your case.
Please post further issues here: https://github.com/xulihang/Ionic-Angular-Cordova-Barcode-Scanner
I've uploaded an apk file which works for me: https://github.com/xulihang/Ionic-Angular-Cordova-Barcode-Scanner/releases/download/builds/app-debug.apk
there is no error logs or warning logs in android studio
BTW below are more details about versions I am using for this project, hope it could help you find issue:
Ionic:
Ionic CLI : 6.16.3 Ionic Framework : @ionic/angular 6.1.8 @angular-devkit/build-angular : 13.2.6 @angular-devkit/schematics : 13.3.7 @angular/cli : 13.2.6 @ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : android 9.1.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 4 other plugins)
Utility:
cordova-res : 0.15.4 native-run : 1.4.0
System:
Android SDK Tools : 26.1.1 NodeJS : v14.17.1 npm : 8.10.0 OS : Windows 10
On Tue, 19 Jul 2022 at 15:11, Lihang Xu @.***> wrote:
You can check out the logs to see what happened.
— Reply to this email directly, view it on GitHub https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1#issuecomment-1188834018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCT22KGZCGDRKVXDPPVEJ3VUZZ5BANCNFSM53652NGQ . You are receiving this because you authored the thread.Message ID: <xulihang/cordova-plugin-dynamsoft-barcode-reader/issues/1/1188834018@ github.com>
Please post your issues here: https://github.com/tony-xlh/Ionic-Angular-Cordova-Barcode-Scanner/issues
I think it is related to the dark theme. The demo was updated so that the dark theme will not be used.
When I click on "Scan Barcodes" button, its just showing black blank screen with bottom fab button, no issue in the console, may be issue with camera preview.