Closed dutrasr closed 2 months ago
Hi @dutrasr and thank you for your feedback.
I got this crash too on the Crisp app on some Android 7 to 9 devices but for the moment, I did not find the cause of it nor a reproducible case :/
In the end, with a new eye on this crash, I found out that LayerDrawable.setDrawableByLayerId(int id, Drawable drawable)
crashes on older Android versions if we set the Drawable
to null
, which works well on Android 10 and above...
It is used to apply the tiles in the header (or remove them) according to the theme, so from now, instead of setting the drawable from the tile layer to null
, I set it to a transparent one.
The fix will be published in the next 2.0.2beta3
release :)
Thanks for the prompt reply @Doc1faux.
@Doc1faux, until the fix is released, is there any workaround this issue?
Sorry for the late reply, I'll release a new SDK version with only the latest fixes shortly!
I just shipped the new 2.0.2beta3
release which should fix this issue.
It can take a couple of hours to be available.
I close the issue.
Hi,
I'm seeing the crash bellow in a couple of older android version(8, 8.1 or 9). Newer ones seems fine.
I'm currently using the the 2.0.0beta1 version through the react-native-crisp-chat-sdk package.