I am having difficulty pairing readers with the mobile payments sdk on android.
I have tried both a starter application written by myself using SDK version 2.0.1 and the quickstart application using SDK version 2.0.0-beta5.
When attempting to pair a reader using the SDK’s settings menu, the entire process goes smoothly until after the “success” is shown with a green check mark. When the pop up closes and shows the list of devices, the reader will just say “failed to connect”. I can see all of the information for the reader by selecting the device and I am able to use the identify reader feature.
So far when this happens I am not seeing any errors in logcat or debug.
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:
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.
Yes, we have sorted the issue out here as far as I have been able to test.
I went through all of the troubleshooting recommended and had no luck.
Another developer implemented the Reader SDK on the same device. We were able to pair a reader using that. Ever since, any other readers we have all connect using the Mobile Payments SDK without any issues. I am unsure why this might be, but it is working now.
Not while the issue was ongoing, it only began to work once they had both been used on the same device. This tablet had a fresh OS install before testing the Mobile Payments SDK and encountering the issue with pairing.
That would make sense. There is only one on the device now, which is the Mobile Payments SDK. It is all working as expected now, we just do not have a conclusion as to why readers would not connect pre testing the Reader SDK.
Hello
I’m jumping on here because I’m also having this issue where reader connect flow is displaying connect confirmation, then updates to say failed to connect immediately after.
It was working fine on both my devices (pixel tab and pixel 6) and pairing had no issues until today when I installed an updated apk for testing and found that the readers would fail to connect on both. devices are android 15.
There are several conversations here about this but I’m not finding any that say what the resolution is. I’ve got one sdk on the device, readers connect with Square app. I’ve forgotten in bluetooth and restarted devices. Would appreciate any guidance on this please.
running sdk 2.02
same issue as described here too: Mobile Payments SDK Reader Connection Issues But aside from the reader sdk suggestion, I don’t see anything on how this was resolved.
app id: sq0idp-b3dwG33TV2AGtlM_kSceKg
unmodified framework
not in developer settings