Skip to content

Android 15 Play Store Blocker: Kotlin removeFirst() / removeLast() causing crashes in ScreenStack.obtainDrawingOp #3397

@kapilw360

Description

@kapilw360

Description

Starting with Android 15:

Kotlin's removeFirst() and removeLast() are now ambiguous with Java’s built-in methods.

Dalvik/ART resolves these calls incorrectly → causing runtime crashes.

Google Play has added a new Technical Quality Blocker that prevents apps from shipping if these methods exist inside the AAB.

Therefore, any library using these Kotlin extensions (including react-native-screens) triggers this new Play Store warning and must replace them with safer alternatives.

com.swmansion.rnscreens.ScreenStack.obtainDrawingOp

Steps to reproduce

Build Android release.

Upload .aab to Play Console.

Play Console reports error under Technical Quality.

Snack or a link to a repository

Screens version

3.16.0

React Native version

0.73.6

Platforms

iOS, Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

Missing infoThe user didn't precise the problem enoughMissing reproThis issue need minimum repro scenarioPlatform: AndroidThis issue is specific to AndroidPlatform: iOSThis issue is specific to iOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions