Skip to content

Conversation

@ColeKainzRSG
Copy link
Contributor

Due to issues outline here, list.removeFirst() produces a runtime error for apps targeting Android 35. Until this issue is resolved, list.removeAt(0) must be used

Due to issues outline (here)[https://youtrack.jetbrains.com/issue/KT-71375/Prevent-Kotlins-removeFirst-and-removeLast-from-causing-crashes-on-Android-14-and-below-after-upgrading-to-Android-API-Level-35] ```list.removeFirst()``` produces a runtime error for apps targeting Android 35. Until this issue is resolved, ```list.removeAt(0)``` must be used
@Geschan
Copy link

Geschan commented Dec 3, 2024

Are there any workarounds to fix this issue. As this PR is not picked up yet, I suppose it won't get fixed quite soon.

@Geschan
Copy link

Geschan commented Dec 3, 2024

Fixes #35

FlossyWeb added a commit to FlossyWeb/capacitor-google-maps that referenced this pull request Jan 16, 2025
@focafull
Copy link

focafull commented Feb 9, 2025

I really need this, without this fix most of my users' apps will crash.

@ColeKainzRSG
Copy link
Contributor Author

@focafull I fixed the issue with patch-package. This is such a simple fix, I'm not sure why it hasn't been merged in

@co-dax
Copy link

co-dax commented Feb 17, 2025

This is quite urgent as it i making the plugin unusable with Capacitor 7.

@manix
Copy link

manix commented Mar 1, 2025

Why isn't this being merged?

@OS-pedrogustavobilro OS-pedrogustavobilro requested a review from a team April 29, 2025 11:13
@OS-pedrogustavobilro OS-pedrogustavobilro merged commit 363f29e into ionic-team:main Apr 29, 2025
@OS-pedrogustavobilro
Copy link
Contributor

Hey @ColeKainzRSG, thanks for opening the PR with the fix, indeed this was an issue that affects Capacitor 7 builds that use this plugin.

We expect to release this fix soon.

We apologize for the time it took to address this PR; I'll post a new comment (here and in the opened issues) once the new plugin version is released.

@OS-pedrogustavobilro
Copy link
Contributor

@capacitor/[email protected] - containing this fix - was just published in npm.

Thank you for the contribution!

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.

7 participants