Unfortunately code in trigger BarcodeScannerProvider::BarcodeReceived never runs even when scanning a barcode. I already figured out that some scanner configurations may not be manually set with zebra devices. Therefore modifiying settings in AL code is neccessary. With ControlAddIns function RequestBarcodeScannerAsync allows to set IntentAction, IntentCategory, DataString and DataFormat as a parameter. As I am working with bc23 OnPrem I am using .net Variable BarcodeScannerProvider. However BarcodeScannerProvider.RequestBarcodeScannerAsync only allows BarcodeScannerOptions as a parameter or none at all.
Using BarcodeScannerOptions values are set and given to the function as a parameter. Unfortunately neither settings shown in the documentation nor those that have worked previously with controlAddIns are working with my code. Code in trigger BarcodeReceived never runs and I am out of ideas how to make it work.
I have set intent delivery mode within the scanner settings to broadcast intent.
I have attached my code. Any help is greatly appreciated
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.