Open christxph opened 4 years ago
For anyone else experiencing this: According to this AppCompat bugtracker issue upgrading to v1.2.0-alpha02
of the AppCompat library should fix this issue
implementation "androidx.appcompat:appcompat:1.2.0-alpha02"
I will keep this issue open until a non-alpha release of the AppCompat library with Google's fix is released.
The
SignatureFragment
crashes on API 21-25 devices with an oldWebView
version installed because of theWebView
s included in thefragment_signature_view.xml
layout. The stacktrace of this crash is:Underlying cause of the crash
The underlying cause of the crash is a bug in the AppCompat library v1.1.0 There are multiple reports for that in the Android bug tracker, e.g.:
How to fix it
We had the same issue in WebViews used in our app, but fixed it by applying the following workaround (as posted in the bug tracker: https://issuetracker.google.com/issues/141132133#comment6):
An easy way to fix this crash in the SumUp SDK, would be to implement the workaround in the
SignatureFragment
's parentActivity
.Google is also working on a workaround/fix (https://issuetracker.google.com/issues/141351441#comment23) to be included in the AppCompat SDK, but until then signature payments do not work on all affected devices.