ZebraDevs / DataWedge-Ionic-Demo

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

Zebra DATAWEDGE Scanner Issue in Android 11 #57

Open ceroideas opened 1 year ago

ceroideas commented 1 year ago

Hi, I'm having a problem with the scanner reading...

We have 2 types of Zebra:

One with android 10: The operation is correct, and I can read several barcodes well and they are displayed from here: (data.scanData.extras["com.symbol.datawedge.data_string"])

Another with android 11: The laser fires but this is what it returns, it never reads the barcode.

image

Do I have something wrong configured in the provider?

In addition to that, my app makes a log of the intent.extras and this is what it returns

"Received Intent: {\"com.symbol.datawedge.api.RESULT_GET_VERSION_INFO\":{\"BARCODE_SCANNING\":\"32.7.25.0\",\"DATAWEDGE\":\"11.3.137\",\"DECODER_LIBRARY\":\"IMGKIT_8.05T01.17_SPR44338_01|Digimarc-3.9.1 - 20200506124529\",\"SCANNER_FIRMWARE\":[\"2D Barcode Imager: PAACDS00-001-R03\"]}}" | 30-11-2022 17:14:07 "Received Intent: {\"SEND_RESULT\":\"false\",\"com.symbol.datawedge.api.GET_VERSION_INFO\":\"\"}" | 30-11-2022 17:14:07 "Received Intent: {\"com.symbol.datawedge.api.SET_CONFIG\":{\"CONFIG_MODE\":\"UPDATE\",\"PROFILE_NAME\":\"ZebraWeeetracker\",\"PLUGIN_CONFIG\":{\"PLUGIN_NAME\":\"BARCODE\",\"RESET_CONFIG\":\"true\",\"PARAM_LIST\":{}},\"PROFILE_ENABLED\":\"true\",\"APP_LIST\":[{\"PACKAGE_NAME\":\"com.ecolec.weeetracker\",\"ACTIVITY_LIST\":[\"*\"]}]},\"SEND_RESULT\":\"false\"}" | 30-11-2022 17:14:07 "Received Intent: {\"com.symbol.datawedge.api.SET_CONFIG\":{\"CONFIG_MODE\":\"UPDATE\",\"PROFILE_NAME\":\"ZebraWeeetracker\",\"PLUGIN_CONFIG\":{\"PLUGIN_NAME\":\"INTENT\",\"RESET_CONFIG\":\"true\",\"PARAM_LIST\":{\"intent_delivery\":\"2\",\"intent_action\":\"com.ecolec.weeetracker.ACTION\",\"intent_output_enabled\":\"true\"}},\"PROFILE_ENABLED\":\"true\"},\"SEND_RESULT\":\"false\"}" | 30-11-2022 17:14:07 "Received Intent: {\"SEND_RESULT\":\"false\",\"com.symbol.datawedge.api.SOFT_SCAN_TRIGGER\":\"START_SCANNING\"}" | 30-11-2022 17:14:57 "Received Intent: {\"SEND_RESULT\":\"false\",\"com.symbol.datawedge.api.SOFT_SCAN_TRIGGER\":\"STOP_SCANNING\"}" | 30-11-2022 17:14:58