Closed Damien-L closed 1 year ago
Hi @Damien-L and thank you for your feedback.
I have just symbolicated the stacktrace you have provided but what is strange is there is a null check just the line before... Is the crash happens often? Do you have a reproductible case?
I updated the issue with the full stacktrace. But maybe it doesn't help more.
We had this issue only one time on production environment. I don't know if it's specific to HUAWEI P30 on Android 10 or not. We're not able to reproduce.
Indeed, it does not help much more :/
I had also this exception once on the brand new beta app but I have no clue for the moment how this could happen... Maybe with a race condition between 2 threads (we are using our owns to split our app logic) if Socket.IO are using their own thread to publish socket messages which we react to. I will dive into this explanation...
I confirm that Socket.IO uses its own thread for sending/receiving messages (just tested now). So when a message is received on the socket it is dispatched through their thread. I updated the SDK to be thread-safe upon message reception which should fix this crash.
It will be available in the next 1.0.14 release. I will let you know when it will be published ;)
@Damien-L 1.0.14 fixing this issue has just been released. It can take a few hours before it will be available. I close the issue.
Hi,
We just faced a new crash with Crisp SDK version 1.0.13.
HUAWEI P30 Android 10