Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Up to iOS 10 bluetooth POS printers (Bixolon spp-r400, Bixolon spp-r410, Zebra zq520) are detected and working fine with XI 10.3 running on iPad.
On iOS 11 with XI 10.3 the printers are detected, but the connection is lost after a couple printing sessions. "Accessory for departure" message shows up in the console and EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories returns an empty list after that.
Forget/unpair device and pair again is neccessary in order for the printers to be available again (in the ConnectedAccessories list)
On iOS 11 with XI 11.3/XCode9.1 the printers are never detected and EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories returns always an empty list.
Visual Studio Enterprise 2017 for Mac
Version 7.2.2 (build 11)
Installation UUID: 0aa4687e-cd88-4713-a8ce-46866b31df87
Mono 18.104.22.168 (2017-06/1f4613aa1ac) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 504010006
Apple Developer Tools
Xcode 9.1 (13532)
Version: 22.214.171.124 (Visual Studio Enterprise)
Build date: 2017-10-31 22:42:13-0400
With "detected" I'm not referring to the iOS. iOS always detects and pairs the devices correctly. I'm referring to the application and specifically to
Unfortunately, you are not alone having printing issues, a quick google search shows lots of complaints about it, for example, https://developer.zebra.com/thread/34879 so this is not really an issue with Xamarin.iOS, you would have the same connection issues if your app was using ObjC or swift.
Xamarin.iOS is just a thin layer to interop with CocoaTouch frameworks using C# so in this case you are getting an empty array because that is what the native EA framework returned.
I would suggest updating one of your devices to the current iOS beta to see if it fixed there if not, open a radar with Apple.