We are using the Xamarin Wrapper for Scanner SDK and it is working as expected for iOS. However, on Android, the app crashes when the operation mode is set to OPMODE_BTLE, i.e.
ScannerSdk.ScannerManager.SetOperationMode(OpMode.OPMODE_BTLE);
The error is:
**Java.Lang.ClassCastException:** 'android.app.Application cannot be cast to com.zebra.scannercontrol.IDcsScannerEventsOnReLaunch'
The same thing happens if OPMODE_BTLE is selected in the sample XF scanner control app.
According to the docs, BTLE is supported.
I think it is a problem with the SDK, is there a workaround or fix planned?
Related ticket:
https://developer.zebra.com/content/android-why-must-context-implement-idcsscannereventsonrelaunch
0 Replies