socure-inc / socure-sigmadevice-sdk-android

Android library for the Socure Device Risk
1 stars 1 forks source link

Crash in SDK #12

Closed DanilKuhta closed 1 year ago

DanilKuhta commented 1 year ago

When using SDK in the project, where we have google.android.play-services-location version 21.0.1, it crashes with an exception: java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient') at com.socure.idplus.devicerisk.androidsdk.sensors.SocureSigmaDevice.checkLocation(SocureSigmaDevice.kt:102) at com.socure.idplus.devicerisk.androidsdk.sensors.SocureSigmaDevice.fingerPrint(SocureSigmaDevice.kt:81)

Not the case when using 20.0.0

buraksocure commented 1 year ago

Thanks for reporting this @DanilKuhta We will review and get back to you.

buraksocure commented 1 year ago

Hi @DanilKuhta This issue will be taken care of on upcoming release. I'll let you know once I have an ETA.

buraksocure commented 1 year ago

Hi @DanilKuhta We released new version of our SDK (https://github.com/socure-inc/socure-sigmadevice-sdk-android/releases/tag/2.0.2) and update location services library to "com.google.android.gms:play-services-location:21.0.1" Please try and let us know if it resolves your issue.