ZebraDevs / DataWedge-Ionic-Demo

Demo Ionic application using Datawedge on Zebra mobile devices
Other
44 stars 21 forks source link

scanner recognition fail #20

Closed youngkwon9509 closed 3 years ago

youngkwon9509 commented 3 years ago

node-v14 ionic 6.13.1

If you receive the source and upload it to TC75, it will compile and install, but it will not be able to recognize barcodes. (The scanner cannot be found.) zebra

Are there any recommended node and ionic versions?


03-09 10:48:03.316 3650-25153/? D/WearableController: Received broadcast action=android.intent.action.PACKAGE_ADDED and uri=com.zebra.zebraionicdemo 03-09 10:48:03.329 25162-25162/? E/CameraBase: [Camera_Cont] Load controller interface 03-09 10:48:03.336 25162-25162/? E/ScannerFramework: [CreateTokenForDeathNotifier] Creating death notifier tokens 03-09 10:48:03.336 25162-25162/? E/CameraBase: [Camera_Cont] Load controller interface 03-09 10:48:03.336 25162-25162/? E/ScannerFramework: [CreateTokenForDeathNotifier] Creating death notifier tokens 03-09 10:48:03.359 25162-25162/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<

03-09 10:48:03.782 25162-25162/? E/ScannerFramework: [ReleaseDeathNotifierTokens] Releasing death notifier tokens 03-09 10:48:03.782 25162-25162/? E/ScannerFramework: [ReleaseDeathNotifierTokens] Releasing death notifier tokens

03-09 10:48:03.952 1916-1916/? E/NetworkScheduler.SchedulerReceiver: Invalid parameter app 03-09 10:48:03.952 1916-1916/? E/NetworkScheduler.SchedulerReceiver: Invalid package name : Perhaps you didn't include a PendingIntent in the extras?

darryncampbell commented 3 years ago

Did you configure your DataWedge profile manually? If not, please see the ReadMe doc. Once the DataWedge profile has been configured you should be able to scan and capture barcodes. Note that the 'selected scanner' dropdown requires DataWedge 6.4 (I think) which will be why it does not get populated on your device. The scanner defined in the DataWedge profile will be used, by default this is the 2D imager scanner.

youngkwon9509 commented 3 years ago

I have manually set up the DataWedge profile. The item of "Selected Scanner" only shows "Waiting".

notscan

darryncampbell commented 3 years ago

You will not be able to enumerate or switch scanners unless your version of DataWedge is at least 6.3 or 6.5 respectively. It is a bug in the demo app that it presents this 'select scanner' dropdown on your device even though your version of DataWedge is not high enough. You should be able to scan with the default scanner (or whichever scanner you have specified in your DataWedge profile)