Open Milszym opened 2 years ago
This is a fairly major issue that could be addressed fairly easily. According to Google Crashlytics, we see this happening as well (basically the same stack trace) for users. The average individual user that is using SumUp on our platform has seen greater than 15 crashes as a result of this bug.
I am still getting crash logs like the above, even when network is available but slow. Is it still not fixed yet or may it be another bug?
The app is crashing when turning off network connectivity during the payment process due to:
Full Stacktrace is down below at the end of the issue description.
SumUp Version 3.4.0
Prerequisites
Steps to reproduce
SumUpAPI::checkout
methodExpected Result SumUp SDK handles the lack of network gracefully by showing some relevant message on the screen which will notify the user that there is no network connectivity at the moment and the payment can't be processed.
Actual Result SumUp SDK crashes after a few seconds.
Similar issue Similar issue, caused by the same line of code (com.sumup.android.logging.Log.getFileName (Log.java:38)), but invoked from a different class: https://github.com/sumup/sumup-android-sdk/issues/162
Stacktrace of this issue