I'm implementing a barcode integration based on a Zebra TC26 in the Android part of a Xamarin Forms application.
I' trying to get the barcode using an IntentFilter and a BroadcastReceiver.
With this code :
IntentFilter filterScan = new IntentFilter("com.symbol.datawedge.api.RESULT_ACTION");
MainActivity.ActivityContext.RegisterReceiver(new DataReceiver(), filterScan);
the OnReceive method of DataReceiver (which is a BroadcastReceiver) is never triggered.