reader-sdk-android-quickstart icon indicating copy to clipboard operation
reader-sdk-android-quickstart copied to clipboard

Required Reinstallation

Open AmitPal100001 opened this issue 4 years ago • 10 comments

Hi Square Team,

I am trying to connect with device. it's connecting fine with your demo. for my app it's showing Required Reinstallation.

Can you please help me why I am getting this issue? I think any versioning issue.

Thanks, Amit

AmitPal100001 avatar May 07 '21 09:05 AmitPal100001

Hi @AmitPal100001 can you share:

  1. Your Square app id and location_id for the location that this is happening for?
  2. What Reader SDK version are you using?
  3. What device are you using?
  4. Does this happen for more than one reader?
  5. Does the same reader fail on another device?

StephenJosey avatar May 07 '21 17:05 StephenJosey

Hi Square Team,

  1. Your Square app id and location_id for the location that this is happening for?
  •  Square app id:sq0idp-8c9Wnk60f6gdgHjHlv584Q
    

Location_id:11QT6EWNPK5NQ* 2. What Reader SDK version are you using?

  • def readerSdkVersion = "1.4.+"*
  1. What device are you using? Android 8.1
  2. Does this happen for more than one reader? Yes more than one reader
  3. Does the same reader fail on another device? Yes same reader fails on other device

If I am putting readerSdkVersion 1.4.3 my project not build successfully showing this error

Failed to resolve: com.squareup.sdk.reader:reader-sdk-sq0idp-XnMgU6GCKKVGXklEY8_QSw:1.4.3 Show in Project Structure dialog Affected Modules: app

*Note: *For def readerSdkVersion = "1.4.+" it's built successfully but reader not connecting showing error required reinstallation.

Please help me to solve this issue asap. I want to build an Android device.

Thanks, Amit

On Fri, 7 May 2021 at 23:18, Stephen Josey @.***> wrote:

Hi @AmitPal100001 https://github.com/AmitPal100001 can you share:

  1. Your Square app id and location_id for the location that this is happening for?
  2. What Reader SDK version are you using?
  3. What device are you using?
  4. Does this happen for more than one reader?
  5. Does the same reader fail on another device?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/square/reader-sdk-android-quickstart/issues/34#issuecomment-834651220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJC6O6Y7ZULWFFHLRPNJZSLTMQRVTANCNFSM44JNAIMQ .

AmitPal100001 avatar May 08 '21 03:05 AmitPal100001

What is the make and model of the device? On our logs I'm seeing some errors about potential modified firmware (so possibly a rooted device). Would it be possible for you to completely reset the device to factory settings and try to connect the reader?

StephenJosey avatar May 10 '21 21:05 StephenJosey

Hi Square Team,

I have reset the device and tried to connect still I am getting an issue please check my attached screenshot. And on the square pos app, it works on all devices.

Can you please help me now exactly where is the issue in source code or any version related issue?

PFA,

Thanks, Amit

On Tue, 11 May 2021 at 03:21, Stephen Josey @.***> wrote:

What is the make and model of the device? On our logs I'm seeing some errors about potential modified firmware (so possibly a rooted device). Would it be possible for you to completely reset the device to factory settings and try to connect the reader?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/square/reader-sdk-android-quickstart/issues/34#issuecomment-837400654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJC6O63F25AZNWIPWVDSY3LTNBIMHANCNFSM44JNAIMQ .

AmitPal100001 avatar May 11 '21 02:05 AmitPal100001

As mentioned in my previous message, I'm seeing modified firmware software (last happened on the 10th, though). Are you able to confirm it's not rooted? The regular POS and Reader SDK have different security settings, so it's possible POS lets you connect, but not Reader SDK due to having more control. Your device needs to be able to pass the safetynet attestation API (https://developer.android.com/training/safetynet/attestation.html), but we do some extra checks to make sure that payments can't be stolen.

StephenJosey avatar May 12 '21 21:05 StephenJosey

Hi Square Team,

Devices are not rooted. It is a stock Samsung galaxy note per the screenshot. The only other program on there is SOTI mobicontrol for locking it down

Thanks, Amit

On Thu, 13 May 2021 at 02:31, Stephen Josey @.***> wrote:

As mentioned in my previous message, I'm seeing modified firmware software (last happened on the 10th, though). Are you able to confirm it's not rooted? The regular POS and Reader SDK have different security settings, so it's possible POS lets you connect, but not Reader SDK due to having more control. Your device needs to be able to pass the safetynet attestation API (https://developer.android.com/training/safetynet/attestation.html), but we do some extra checks to make sure that payments can't be stolen.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/square/reader-sdk-android-quickstart/issues/34#issuecomment-840093904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJC6O67RBNMZOGR5EZ6M5WLTNLUDXANCNFSM44JNAIMQ .

AmitPal100001 avatar May 15 '21 05:05 AmitPal100001

Hi Square Team,

Can you please help me? Where is the issue?

Thanks, Amit

On Sat, 15 May 2021 at 10:04, Amit Kumar @.***> wrote:

Hi Square Team,

Devices are not rooted. It is a stock Samsung galaxy note per the screenshot. The only other program on there is SOTI mobicontrol for locking it down

Thanks, Amit

On Thu, 13 May 2021 at 02:31, Stephen Josey @.***> wrote:

As mentioned in my previous message, I'm seeing modified firmware software (last happened on the 10th, though). Are you able to confirm it's not rooted? The regular POS and Reader SDK have different security settings, so it's possible POS lets you connect, but not Reader SDK due to having more control. Your device needs to be able to pass the safetynet attestation API ( https://developer.android.com/training/safetynet/attestation.html), but we do some extra checks to make sure that payments can't be stolen.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/square/reader-sdk-android-quickstart/issues/34#issuecomment-840093904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJC6O67RBNMZOGR5EZ6M5WLTNLUDXANCNFSM44JNAIMQ .

AmitPal100001 avatar May 17 '21 19:05 AmitPal100001

Hi @AmitPal100001 I checked in with some other folks, and it sounds like your compiler may be changing some of the actual SDK, which is causing the issue with pairing. Are you using anything like Proguard (which we do not support), or other code optimization that may be removing critical bytecode elements?

StephenJosey avatar May 17 '21 21:05 StephenJosey

Hi Square Team,

I am not using anything like Proguard or any code optimization. Still I am facing this issue.

Please check this video https://www.youtube.com/watch?v=vPag5gKUC3M

Dependency that I am using for this in my project

Capture

  def readerSdkVersion = "1.4.+"
// SQUARE_READER_SDK_APPLICATION_ID is defined in ./gradle.properties
implementation "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion"
runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion"

Can you schedule a meeting with me to resolve this issue?

Thanks, Amit

AmitPal100001 avatar May 21 '21 13:05 AmitPal100001

Hi Square Team,

Can you please update me regarding this issue? still I am facing issue.

Thanks, Amit

AmitPal100001 avatar Jun 03 '21 02:06 AmitPal100001