Xamarin App crash when init Scanner

Hi,

I download sample app from Scanner_SDK_for_Xamarin_DemoApp_v1.0.4.0.zip and run it on windows 10
on visual studio 2019 and the last version of XCode but it crash in the line below

sdkInstance = new ScannerSDK();

Can every one meet this error and how can solve it?

Thanks

Tim Johnson
Can reproduce the same problem when deploying to Iphone

Did you get around it?

For me, i run with debug, and click the 'About'. this causes the crash.
Seems to run in simulator fine however, but that is no good for release!
When this crash happens, Visual Studio hangs up and i have to kill the process.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Tim Johnson
Solved

Was just missing the permission string in info.plist:
https://developer.apple.com/documentation/corebluetooth
Without it, the application crashes.
Perhaps ZEBRA can add this to their own sample???

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments