Closed mrbelk closed 6 years ago
So I noticed that the LinkOS_SDK is not technically supported on an iPhone 5, so I tried the same thing on an iPhone 7 (iOS 11.2.1) and got the same result.
so, I was able to successfully compile and run the xamarin sample app on my iPhone 7. My actual app doesn't do anything any differently, so I am baffled as to why the difference in behavior.
Hi Matthew, So the sample shows the printers enumerating and your app doesn't? Or do neither of them enumerate the printers?
Robin
The sample app worked on my iPhone 7
Matthew Belk BizSpeed, Inc 678-287-3315
From: Robin West notifications@github.com Sent: Tuesday, December 19, 2017 5:39:02 PM To: Zebra/LinkOS-Xamarin-Samples Cc: Matthew R. Belk; Author Subject: Re: [Zebra/LinkOS-Xamarin-Samples] Cannot enumerate printers on iOS (#3)
Hi Matthew, So the sample shows the printers enumerating and your app doesn't? Or do neither of them enumerate the printers?
Robin
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Zebra/LinkOS-Xamarin-Samples/issues/3#issuecomment-352908356, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABCkDwOSsHMuoLKchcpECBac9Hv6TO0kks5tCDsGgaJpZM4RHl-R.
OK - Few things to check.
this might be my oversight. I didn't transfer over the UISupportedExternalAcccessoryProtocols or the UIBackgroundMode keys from the info.plist
We can close this out because I'm an idiot. Everything looks good now. Thanks for pointing those plist entries out for me.
No Problem... The number of times I forgot the manifest or plist when doing live demo coding.... Not fun.
I am having a very hard time enumerating bluetooth printers on iOS (iPhone 5, iOS 10.3.3, Xamarin.iOS 11.6.1.2).
I set up a "PrinterDiscovery" class as per the sample, but when I call the BluetoothDiscoverer.Current.FindPrinters(), it immediately fires the OnDiscoveryFinished event and never fires the OnFoundPrinter. I am doing the same thing in Android (this is a Xamarin.Forms project) and I can enumerate the available printers just fine.
Here is the code that I am using:
I'm completely baffled as to why this won't work on iOS. For the record, I am trying to connect to a QLn420 with the MFI chipset.
Thanks, Matthew Belk