Skip to content

Conversation

@firemaples
Copy link
Owner

Description

Kotlin incompatibilities will cause crashes
Your app uses Kotlin's removeFirst() and removeLast() extension functions, which conflict with Java functions in Android 15. This will cause apps to crash on devices on Android 14 or earlier. Your app uses these functions in the following places:
C2.g.c
C2.g.k
To avoid crashes, replace all Kotlin removeFirst() and removeLast() function calls with removeAt(0) and removeAt(list.lastIndex).

Technical quality
Release name: 127 (4.0.9)

Learn more: https://developer.android.com/about/versions/15/behavior-changes-15#kotlin-remove-first

image

@firemaples firemaples changed the base branch from master to refactor/v4.0.0 May 18, 2025 12:56
@firemaples firemaples self-assigned this May 18, 2025
@firemaples firemaples changed the title Misc/fix remove last Remove usage of removeLast() May 18, 2025
@firemaples firemaples merged commit e6b3526 into refactor/v4.0.0 May 18, 2025
1 check passed
@firemaples firemaples deleted the misc/fix-removeLast branch May 18, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants