How to programmatically get the connected device specifically Square Stand using the Square Mobile Payments SDK on iOS.
Currently I’ve code added but it is not functioning. FYI: Square Stand is already connected via USB but in the app in code it is not showing connected through below code. See my code snippet.
let connectedReaders = self.readers
if connectedReaders.count > 0 {
if self.isReaderConnected{
if reader.model == .stand {
//We are opening `openCheckoutPage` from here.
}
}
}
FYI: I’ve migrated to Mobile Payment SDK already and I’m using 2.0.0.beta3
version.
2 posts - 2 participants