Zebra TC26 Scanner does not scan when config changed in code - Xamarin


I have a TC26 from Zebra and the built in Scanner works fine in my Xamarin App. Now I want to change some Setting on Startup of my App. I followed this tutorial: https://techdocs.zebra.com/emdk-for-xamarin/7-0/tutorial/barcodeapituto… But as soon as this Line is executed:

barcodeManager = (BarcodeManager)emdkManager.GetInstance(EMDKManager.FEATURE_TYPE.Barcode);

The scanner doesn't work anymore. If I press the scanner Button nothing happens. What am I doing wrong?