I am encountering a critical issue with Sendbird UIKit on Android. The app freezes completely when interacting with certain UI elements that trigger a modal. Specifically, the freeze occurs in the following cases:
When tapping the “+” button in a channel.
When long-pressing a message related to channel.
This issue does not happen on iOS or in the simulator—only on Android physical devices.
Key Observations:
This issue started appearing after upgrading from React Native 0.75.x to 0.76.x.
If I minimize the app and reopen it, the issue no longer occurs. Everything works fine after reopening.
I inspected the Sendbird UIKit code and noticed that the freeze happens when the Modal component from Sendbird is used. This might be the root cause of the issue.
Logcat error when freeze occurs:
Got DOWN touch before receiving UP or CANCEL from last gesture
[UIKit Version]
Sendbird UIKit: 3.8.6
React Native version: 0.76.7 (Issue started after upgrading to 0.76.x)
[Reproduction Steps]
In a channel, tap the “+” button to open the attachment menu or long press on a message.
The app freezes, and the UI becomes unresponsive.
Force close the app (remove it from recent apps) and reopen it.
Repeat the same actions (“+” button or long press on a message), and the freeze happens again.
However, if you minimize the app before testing the freeze and then try the same actions, the app does not freeze anymore, and everything works as expected.
[Frequency]
Happens 100% of the time on Android.
Does NOT happen on iOS or in the simulator.
[Current impact]
The app becomes completely unresponsive when trying to open a modal-related component in Sendbird.
Users cannot interact with the app unless they minimize and reopen it.
This is highly critical as it blocks core functionality in channels.
I would appreciate any guidance or solutions to resolve this issue. Thank you in advance!