GetStream / stream-chat-android

:speech_balloon: Android Chat SDK ➜ Stream Chat API. UI component libraries for chat apps. Kotlin & Jetpack Compose messaging SDK for Android chat
https://getstream.io/chat/sdk/android/
Other
1.42k stars 266 forks source link

App crash on long click on message in single chat screen #5309

Open Zee-93 opened 2 months ago

Zee-93 commented 2 months ago

Describe the bug All other things works well but when i long press on any message in a chat to copy message , instead of opening the menu , app crashes.

SDK version

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Chats listing screen'
  2. Click on 'Any chat'
  3. Long press on 'Any Message'
  4. See App crash

Expected behavior Menu should open there having option to reply and copy message

Device:

aleksandar-apostolov commented 1 month ago

Hi @Zee-93 thanks for your report. Is it possible for you to migrate to v6 of the SDK?

Zee-93 commented 1 month ago

Hi @aleksandar-apostolov i have migrted to V6 now , but issue remains the same , it is consistent with Google Pixel 3 (Android 12) and Oppo (Android 11) and Infinix (Android 11) and Samsung s22 .

SDK version 6.4.0 implementation 'io.getstream:stream-chat-android-ui-components:6.4.0'

To Reproduce Steps to reproduce the behavior:

Go to 'Chats listing screen' Click on 'Any chat' Long press on 'Any Message' See App crash Expected behavior Menu should open there having option to reply and copy message

kanat commented 22 hours ago

Hi @Zee-93, Could you please share the stack trace?