I'm developing an iOS app using Square Reader SDK, how will I detect whether the Square Reader Hardware is connected with the device, so that I can show Square Reader Settings View in case of the hardware is not connected with the device.
Asked
Active
Viewed 134 times
1 Answers
1
let readerSettingsController = SQRDReaderSettingsController(delegate: self)
readerSettingsController.present(from: self)
If you are done with other required process, Simply put above code to check status about card reader connection.

Punit
- 1,330
- 6
- 13
-
Hi Punit, thanks for the comment. But I guess SQRDReaderSettingsController displays the settings view of the reader. It is not returning whether the device is connected via Bluetooth or not. – Amit Shetye Aug 28 '19 at 13:31
-
yes, thats true. So there is no other way to detect it. – Punit Aug 28 '19 at 13:32