talk-android icon indicating copy to clipboard operation
talk-android copied to clipboard

Crash when opening any conversation on Android 7.1

Open MmAaXx500 opened this issue 1 year ago • 1 comments

Steps to reproduce

  1. Open Talk
  2. Click on any conversation (confirmed with Talk updates and a group chat)
  3. Crash

Expected behaviour

The conversation should open.

Actual behaviour

Crashes because java.lang.NoClassDefFoundError: Failed resolution of: Landroid/media/AudioFocusRequest$Builder;

Culprit based on the logs: https://github.com/nextcloud/talk-android/blob/e9fc23a5611406179ed6677f72f8304722358b07/app/src/main/java/com/nextcloud/talk/chat/data/io/AudioFocusRequestManager.kt#L65

Device brand and model

samsung SM-J320F

Android version

25

Nextcloud Talk app version

v20.1.0 Alpha 08

Nextcloud server version

29.0.8

Talk version

19.0.10

Custom Signaling server configured

No

Custom TURN server configured

No

Custom STUN server configured

No

Android logs

logcat-relevant.txt

Server log

No response

Additional information

Same behavior on latest stable (v20.0.2).

MmAaXx500 avatar Oct 14 '24 20:10 MmAaXx500

Makes sense, as AudioFocusRequest was added in Api level 26. Updating should fix the issue. Anyway, I'll see If I can fix it with an API check.

Image

rapterjet2004 avatar Oct 15 '24 14:10 rapterjet2004

The minimum supported Android version for Talk is 8. Therefore, we won't be able to support devices running older versions.

sowjanyakch avatar Nov 27 '24 08:11 sowjanyakch