Skip to content

#176 - Upgrade to compileSdk/targetSdk 36 and bump Compose/AndroidX deps - #177

Merged
SanderVeer merged 2 commits into
mainfrom
#176-SDK-Upgrade
Aug 3, 2026
Merged

#176 - Upgrade to compileSdk/targetSdk 36 and bump Compose/AndroidX deps#177
SanderVeer merged 2 commits into
mainfrom
#176-SDK-Upgrade

Conversation

@SanderVeer

Copy link
Copy Markdown
Collaborator

Required by Google's SDK 36 policy. AGP bumped to 8.10.0 (minimum needed for compileSdk 36, stays on the Gradle 8.x/AGP 8.x track rather than migrating to AGP 9). Verified edge-to-edge and predictive back both work correctly on an Android 16 emulator.

Also refreshed the Compose BOM and related AndroidX libraries (activity, lifecycle, navigation, hilt, core, work, datastore, splashscreen, material, accompanist) to their latest versions compatible with AGP 8.x, and dropped the unused accompanist navigation-material dependency.

Required by Google's SDK 36 policy. AGP bumped to 8.10.0 (minimum
needed for compileSdk 36, stays on the Gradle 8.x/AGP 8.x track
rather than migrating to AGP 9). Verified edge-to-edge and
predictive back both work correctly on an Android 16 emulator.

Also refreshed the Compose BOM and related AndroidX libraries
(activity, lifecycle, navigation, hilt, core, work, datastore,
splashscreen, material, accompanist) to their latest versions
compatible with AGP 8.x, and dropped the unused accompanist
navigation-material dependency.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the Android build to comply with Google’s SDK 36 policy by raising compile/target SDK to 36, updating AGP, and refreshing Compose/AndroidX dependency versions while removing an unused Accompanist dependency.

Changes:

  • Bump compileSdk/targetSdk to 36 and update AGP/Kotlin/AndroidX/Compose-related versions via the version catalog.
  • Remove explicit composeOptions.kotlinCompilerExtensionVersion in favor of the Compose compiler Gradle plugin.
  • Drop the unused accompanist-navigation-material dependency and adjust MainActivity’s onNewIntent signature for newer SDK nullability.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
gradle/libs.versions.toml Updates SDK levels and refreshes Gradle/dependency versions; removes version pins now expected to be managed by BOMs/plugins.
android/app/src/main/java/app/eduroam/geteduroam/MainActivity.kt Updates onNewIntent to match new SDK nullability expectations.
android/app/build.gradle.kts Removes old Compose compiler extension pin and drops an unused Accompanist dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gradle/libs.versions.toml
Comment thread android/app/src/main/java/app/eduroam/geteduroam/MainActivity.kt
Both call sites (onCreate's intent property, onNewIntent's now
non-null parameter) always pass a non-null Intent, so the nullable
type was just dead weight forcing pointless safe-calls and letting
a null slip unchecked into NavController.handleDeepLink().

Addresses PR review feedback from Copilot on #177.
@SanderVeer
SanderVeer merged commit 97714ea into main Aug 3, 2026
1 check passed
@SanderVeer
SanderVeer deleted the #176-SDK-Upgrade branch August 3, 2026 08:05
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