I have implemented the Mobile Payments SDK in a application that is distributed through MDM not Google Play, that the SHA doesn’t change for debug or production. It’s working in devices with Android 14 or lower, but in Android 15 it cannot pair. The status is always is Connecting to Square. I tried pairing with Square POS app, and it works, I tried using my credentials in the Sample App and it doesn’t work.
I’ve tried in 2 different devices with 2 different readers.
- Zebra ET401,. Android 15 with a 2nd Gen reader.
- Pixel 10 Pro, Android 16 with a 1st Gen reader.
With this same APK i’m able to connect Zebra TC27 Android 13 with a 1st Gen reader
I was using the in-built settings screen to sync the devices, but i wanted to get more information, so i developed a sample screen to get more information. The error that the pairing outputs it’s USAGE_ERROR. This makes me think it’s the SHA, but i doubled check and they’re the same, i tried adding a new signature, but it only failed (maybe because of the collision).
SDK version 2.5.0
Kotlin version 2.3.0
targetSdk 35
minSdk 28
Location: sq0idp-Nfa7m3PwnXSbzAZ8spWd_A
and sq0idp-zmQWvyLTpsTozOiLf-9j1g
Error log:
Square pairing FAILED: errorCode=BOND_FAILED, debugCode=pairing_bond_failed, debugMessage=Unable to create a Bluetooth bond with the reader device.
Developer Options disabled.
Update Jun 1 4:43:00
In the ET401 Android 15, the 1st gen reader connects but the status is unavailable.
Square pairing FAILED: errorCode=UNKNOWN_ERROR, debugCode=pairing_unknown_error, debugMessage=An unknown error occurred during reader pairing
Factory reset the reader, and the result is the same.
readers updated, count=1 → [SquareReader(id=0C:EC:80:F7:6D:B0, name=Square Reader 6324, model=CONTACTLESS_AND_CHIP, state=CONNECTING, connectionType=BLUETOOTH, serialNumber=122LS14603316324, batteryPercent=null, isCharging=false, isForgettable=true, isBlinkable=false)]
16:40:35 readers updated, count=1 → [SquareReader(id=0C:EC:80:F7:6D:B0, name=Square Reader 6324, model=CONTACTLESS_AND_CHIP, state=CONNECTING_TO_SQUARE, connectionType=BLUETOOTH, serialNumber=122LS14603316324, batteryPercent=null, isCharging=false, isForgettable=true, isBlinkable=false)]
16:40:44 readers updated, count=1 → [SquareReader(id=0C:EC:80:F7:6D:B0, name=Square Reader 6324, model=CONTACTLESS_AND_CHIP, state=CONNECTING_TO_SQUARE, connectionType=BLUETOOTH, serialNumber=122LS14603316324, batteryPercent=59, isCharging=false, isForgettable=true, isBlinkable=true)]
16:40:44 readers updated, count=1 → [SquareReader(id=0C:EC:80:F7:6D:B0, name=Square Reader 6324, model=CONTACTLESS_AND_CHIP, state=UNAVAILABLE, connectionType=BLUETOOTH, serialNumber=122LS14603316324, batteryPercent=59, isCharging=false, isForgettable=true, isBlinkable=true)]
Update Jun 1 4:54:00
The Pixel connects to 1st gen reader, but status is unavailable, same as ET401.
