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.