square / reader-sdk-flutter-plugin

Flutter Plugin for Square Reader SDK
Apache License 2.0
87 stars 31 forks source link

Device Not Supported #107

Closed dirjud closed 1 year ago

dirjud commented 1 year ago

Describe the issue

When connecting to a contactless reader on a Qukenk Android 11 tablet, I get a "Device Not Supported" popup after pairing completes.

The reader connects fine from the Square app. It is just in our custom app that this failure occurs. Attached are a sequence of screenshots showing the problem.

Error log details:

Environment (please complete the following information):

Screenshot_20230130-043837 Screenshot_20230130-043848 Screenshot_20230130-043851 Screenshot_20230130-043910 Screenshot_20230130-044052 Screenshot_20230130-044056

Armaxis commented 1 year ago

Hello! We checked the logs on our end and it looks like this device doesn't pass the hardware security check. You can try formatting the device, resetting it back to the factory settings, to fix the issue. Alternatively, you can try using a different Android phone or tablet. Hope this helps!

fka3 commented 1 year ago

I doubt the network connectivity stuff is related; not sure why the robot thought it was.

The "device not compatible" is, as Artem said, the hardware security layer... and the rules for that are slightly different for RSDK vs POS, but in general POS is stricter (because it's our app, so we can be more forceful about what it needs).

hiporox commented 1 year ago

@Armaxis @fka3 I am having the same issue as OP. I tried a factory reset and it still doesn't work. What are settings on the device that could be causing this?

Armaxis commented 1 year ago

@hiporox can you please share some information?

hiporox commented 1 year ago

@Armaxis I sent you that info on the send safely site

Armaxis commented 1 year ago

@hiporox I see that this device doesn't pass the Safetynet check. Does it have latest Google Play Store components installed? Also, is it a rooted device?

You can use this app to test your phone for Safetynet

hiporox commented 1 year ago

It's failing on the CTS Profile Match. The device isn't rooted, opened it straight from the box. It doesn't appear to be Play Certified. I'm gonna talk with the manufacturer about what's going on

Armaxis commented 1 year ago

Oh, interesting, so it doesn't run the stock Android, right? I'd definitely be cautious of using these devices in production, this doesn't sound too secure

hiporox commented 1 year ago

It does run stock Android, but speaking to the manufacturer, they didn't submit the version they shipped it with to Google for certification. I won't be using an unsecured OS in production