Skip to content

chore(android): update native dependencies and fix Android Studio warnings - #173

Merged
OS-pedrogustavobilro merged 9 commits into
nextfrom
chore/RMET-5329/dependency-updates
Aug 5, 2026
Merged

OS-pedrogustavobilro merged 9 commits into
nextfrom
chore/RMET-5329/dependency-updates

Conversation

@OS-pedrogustavobilro

@OS-pedrogustavobilro OS-pedrogustavobilro commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

⚠️ 🤖 AI-assisted development PR with Claude Code, with manual review and testing by me.

Updates to native android dependencies used by Capacitor Google Maps Plugin:

  • kotlinxCoroutinesVersion to 1.11.0 (latest)
  • googleMapsPlayServicesVersion to 20.0.0 (latest)
  • googleMapsUtilsVersion to 5.0.0 (latest) - Update to version 5 came with breaking changes that required changes in the plugin - refer to 160a79e if you'd like to know which ones
  • googleMapsKtxVersion and googleMapsUtilsKtxVersion to 6.0.1 (ℹ️ not the latest) - Couldn't update to 6.1.0 or higher because it requires Kotlin 2.4.0, but AGP 9's built-in kotlin uses Kotlin 2.2 (we thought from release notes it used 2.3 but that was reverted - more info in https://issuetracker.google.com/issues/483083119), and causes build to fail.

Also saw there were several warnings in the project (not related to the dependency warnings directly; commit 7d96bfc), so took the time to fix some of those. Could have done it in a separate PR but since it was small changes I though why not bundle it up.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

Addresses https://outsystemsrd.atlassian.net/browse/RMET-5329 for google maps

Note that there is a separate task to update Google Maps iOS SDK, so that will be done in a separate PR.

Tests or Reproductions

Tested on the example-app in this repo.

Remember that you need a Google Maps API key if you haven't set it up yet.

Platforms Affected

  • Android
  • iOS
  • Web

Notes / Comments

Because that comes in the Android template's default `variable.gradle`, and since we're not including those in the readme in general for plugins, it can be ommited.

It was there before because it was androidCoreKTXVersion, but since with #171 it no longer is, then it's not needed there.
Couldn't update to latest (6.2.0) because kotlin version required (2.4) is higher than what AGP 9 ships (kotlin 2.2)
@OS-pedrogustavobilro
OS-pedrogustavobilro changed the base branch from main to next July 30, 2026 10:28
@OS-pedrogustavobilro OS-pedrogustavobilro changed the title chore(android): update native dependencies chore(android): update native dependencies and fix Android Studio warnings Jul 30, 2026
Particularly keyboard and haptics for example apps.
@OS-pedrogustavobilro
OS-pedrogustavobilro marked this pull request as ready for review August 4, 2026 13:53
@OS-pedrogustavobilro
OS-pedrogustavobilro merged commit 64974fc into next Aug 5, 2026
10 checks passed
@OS-pedrogustavobilro
OS-pedrogustavobilro deleted the chore/RMET-5329/dependency-updates branch August 5, 2026 12:17
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