Skip to content

Commit f3025c6

Browse files
authored
ref(android): Add NavLeaseCoordinator (JAVA-785) (#6302)
Part 1 of our Nav3 support for multi-Activity and multi-Fragment applications Introduces NavLeaseCoordinator, a lifecycle-aware lease manager that selects which SentryNavEffect instance may publish nav data to a shared IScope and create nav transactions under it.
1 parent c464ea3 commit f3025c6

5 files changed

Lines changed: 1535 additions & 8 deletions

File tree

‎gradle/libs.versions.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.7.0" }
110110
androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version = "1.3.5" }
111111
androidx-lifecycle-common-java8 = { module = "androidx.lifecycle:lifecycle-common-java8", version.ref = "androidxLifecycle" }
112112
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "androidxLifecycle" }
113+
androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version = "2.8.3" }
113114
androidx-navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "androidxNavigation" }
114115
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigation" }
115116
androidx-navigation-fragment = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "androidxNavigation" }

‎sentry-android-navigation3/build.gradle.kts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ dependencies {
6262
implementation(projects.sentry)
6363

6464
compileOnly(libs.androidx.compose.runtime)
65+
compileOnly(libs.androidx.lifecycle.runtime.compose)
6566

6667
testImplementation(libs.androidx.compose.ui.test.junit4)
6768
testImplementation(libs.androidx.test.core)

0 commit comments

Comments
 (0)