Does the Mobile Payments SDK support pairing to readers yet?

I’m trying to pair with a Contactless and Chip Square Reader using the SettingsManager’s ShowSettings (Android) / PresentSettings (iOS) modal in a test app. Both are failing:

  • In Android, tapping “Pair a reader” will show a popup stating “Press and hold the button on your reader until the light flash orange. Then release the button and place the reader next to this device to pair.” I’ve followed those instructions several times and it just results in a time out error in the app.

  • In iOS, tapping “Pair a reader” will instantly show a popup with the title “Error pairing to reader” and the message “An unknown Bluetooth error occurred.”

We also have a Square Reader for Magstripe which I tried to use with an iPad, but it doesn’t appear to recognize any swipes.

I’m using version 2.0.0-beta1 of the SDK for iOS and version 2.0.0-beta2 of the SDK for Android. Since these are beta versions, I’m wondering if the SDK just isn’t fully implemented yet?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Reader SDK Quickstart
Configure the Reader SDK on iOS for Square Stand
Reader SDK

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

What’s your application ID and the location_id your using? :slightly_smiling_face:

Application ID: sq0idp-PUS0ZdLL599JRhgw66frJA
Location ID: LYRK3ZZMJCTCG

Are you physically located in the US when trying to pair the reader? :slightly_smiling_face:

Yes, I’m in the United States

Are you in developer mode when trying to pair? If you are can you test with developer mode disabled? :slightly_smiling_face:

By developer mode, do you mean in the mobile device’s settings?

I had developer mode enabled in Settings on both devices. I tried disabling Developer Mode in iOS and Developer options in Android and they still don’t work.

  • Android still times out. It will also sometimes freeze the app while it tries to open the Pair a Reader modal or shortly after opening it. The app will sometimes recover from the freeze, but it sometimes gets stuck.

  • iOS gives a “Developer Mode Required” error when trying to open my test app.

The team is looking further into this. Also do you have Privacy - Microphone Usage set in your Info.plist? :slightly_smiling_face:

Thank you.

My iOS test app does have a key/value pair for NSMicrophoneUsageDescription defined:

  <key>NSMicrophoneUsageDescription</key>
  <string>Some Square readers use the microphone to communicate payment card data to your device.</string>

The team is pretty sure that you have all the permissions defined however your not requesting them to pass a log which is why pairing is failing. I’m still waiting on additional information. :slightly_smiling_face:

Yes, it looks like it’s permissions based, at least for iOS. I was able to get pairing to work with our actual iOS app.

I ran into some additional problems with actually taking a payment, but thinking about it more it’d make more sense to handle it via the Contact Square form, so I’ll do that.