Open jamesbluecrow opened 12 months ago
@ccen-stripe, can you help out here?
hi @jamesbluecrow the .tflite model is downloaded on the fly, from the log it seems that the file is not correctly downloaded. Is it possible to confirm when the error happens network connection is not stable and the model fails to download?
IllegalArgumentException
Yes it is likely due to slow internet connection.
But in no case should the app crash because of it. The SDK should catch that exception if it cannot load the model and maybe emit a IdentityVerificationSheet.VerificationFlowResult.Failed
error.
Because it is happening inside the SDK we cannot catch that exception ourselves.
IllegalArgumentException
Yes it is likely due to slow internet connection.
But in no case should the app crash because of it. The SDK should catch that exception if it cannot load the model and maybe emit a
IdentityVerificationSheet.VerificationFlowResult.Failed
error.Because it is happening inside the SDK we cannot catch that exception ourselves.
Will fix this in our upcoming release!
Hi, any plans/ETA for the fix for this or is it fixed already ? We are still seeing this. Our version SDK is v20.48
Summary
We are seeing some our app crashing sometimes (not many) with the exception below.
Code to reproduce
No repro steps available. It has happened only to a few users.
Android version
Android 12 & 13
Impacted devices
Installation method
Through a gradle dependency
Dependency Versions
kotlin: 1.9.0 stripe-android: 20.31.0 Android Gradle Plugin: 8.1.1 Gradle: 8.3