Skip to content

Conversation

@tyllark
Copy link
Member

@tyllark tyllark commented Nov 12, 2025

Description of changes:
Amplify API and Notifications 2.7.1

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tyllark and others added 3 commits November 12, 2025 00:04
…0) for Android < 11 compatibility

The removeFirst() method from the Kotlin standard library is only available on
Android 11 (API 30) and above, or when running on a full Java 11+ runtime.
On older Android versions, this causes a NoSuchMethodError at runtime.

This commit replaces removeFirst() with removeAt(0), which provides the same
behavior and works correctly on all supported Android API levels (minSdk 21+).

No functional behavior changes have been made — only improved runtime
compatibility.
@tyllark tyllark requested a review from a team as a code owner November 12, 2025 05:21
@tyllark tyllark merged commit d29dc04 into stable Nov 12, 2025
93 of 111 checks passed
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.

3 participants