From 5426337adbedbc9db38cc7a350d1962756ab3671 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 2 Jan 2024 08:21:59 +0000
Subject: [PATCH] Update mobius to v1.5.14 (#4833)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.spotify.mobius:mobius-test](https://togithub.com/spotify/mobius)
| `1.5.9` -> `1.5.14` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.spotify.mobius:mobius-test/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.spotify.mobius:mobius-test/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.spotify.mobius:mobius-test/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.spotify.mobius:mobius-test/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [com.spotify.mobius:mobius-rx2](https://togithub.com/spotify/mobius) |
`1.5.9` -> `1.5.14` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.spotify.mobius:mobius-rx2/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.spotify.mobius:mobius-rx2/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.spotify.mobius:mobius-rx2/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.spotify.mobius:mobius-rx2/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[com.spotify.mobius:mobius-extras](https://togithub.com/spotify/mobius)
| `1.5.9` -> `1.5.14` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.spotify.mobius:mobius-extras/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.spotify.mobius:mobius-extras/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.spotify.mobius:mobius-extras/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.spotify.mobius:mobius-extras/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [com.spotify.mobius:mobius-core](https://togithub.com/spotify/mobius)
| `1.5.9` -> `1.5.14` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.spotify.mobius:mobius-core/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.spotify.mobius:mobius-core/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.spotify.mobius:mobius-core/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.spotify.mobius:mobius-core/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[com.spotify.mobius:mobius-android](https://togithub.com/spotify/mobius)
| `1.5.9` -> `1.5.14` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.spotify.mobius:mobius-android/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.spotify.mobius:mobius-android/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.spotify.mobius:mobius-android/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.spotify.mobius:mobius-android/1.5.9/1.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
spotify/mobius (com.spotify.mobius:mobius-test)
###
[`v1.5.13`](https://togithub.com/spotify/mobius/releases/tag/v1.5.13)
Add Coroutines utilities to use alongside Mobius
Add LiveQueue method to enable ignoring of paused effects entirely
Update Gradle to 7.5
Update Android Gradle Plugin to 7.4.2
###
[`v1.5.12`](https://togithub.com/spotify/mobius/releases/tag/v1.5.12)
Fixed race condition leading to crash via
[https://github.com/spotify/mobius/pull/166](https://togithub.com/spotify/mobius/pull/166)
###
[`v1.5.11`](https://togithub.com/spotify/mobius/releases/tag/v1.5.11)
Fixed race condition leading to crash via
[https://github.com/spotify/mobius/pull/165](https://togithub.com/spotify/mobius/pull/165)
---
### Configuration
📅 **Schedule**: Branch creation - "after 12am and before 2am on the
first day of the month" in timezone Asia/Kolkata, Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/simpledotorg/simple-android).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sasikanth Miriyampalli
---
CHANGELOG.md | 2 ++
.../main/java/org/simple/clinic/sync/IDataSyncOnApproval.kt | 2 +-
app/src/main/java/org/simple/clinic/sync/SyncSetup.kt | 2 +-
.../clinic/sync/indicator/SyncIndicatorStatusCalculator.kt | 2 +-
gradle/libs.versions.toml | 5 ++++-
mobius-base/build.gradle.kts | 1 +
6 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b236e1bf268..1f062b168a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@
- Make entire card scrollable in `OnboardingConsentScreen`
- Show data protection consent dialog after entering app lock pin for existing users
- Add translations for data consent strings
+- Bump Mobius to v1.5.14
+- Add AndroidX lifecycle livedata ktx dependency
### Fixes
diff --git a/app/src/main/java/org/simple/clinic/sync/IDataSyncOnApproval.kt b/app/src/main/java/org/simple/clinic/sync/IDataSyncOnApproval.kt
index bcc7c50da81..2706a10ae72 100644
--- a/app/src/main/java/org/simple/clinic/sync/IDataSyncOnApproval.kt
+++ b/app/src/main/java/org/simple/clinic/sync/IDataSyncOnApproval.kt
@@ -1,7 +1,7 @@
package org.simple.clinic.sync
+import io.reactivex.annotations.CheckReturnValue
import io.reactivex.disposables.Disposable
-import javax.annotation.CheckReturnValue
interface IDataSyncOnApproval {
@CheckReturnValue
diff --git a/app/src/main/java/org/simple/clinic/sync/SyncSetup.kt b/app/src/main/java/org/simple/clinic/sync/SyncSetup.kt
index 9418c393562..e60c0b0ae03 100644
--- a/app/src/main/java/org/simple/clinic/sync/SyncSetup.kt
+++ b/app/src/main/java/org/simple/clinic/sync/SyncSetup.kt
@@ -1,9 +1,9 @@
package org.simple.clinic.sync
+import io.reactivex.annotations.CheckReturnValue
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
import org.simple.clinic.sync.indicator.SyncIndicatorStatusCalculator
-import javax.annotation.CheckReturnValue
import javax.inject.Inject
class SyncSetup @Inject constructor(
diff --git a/app/src/main/java/org/simple/clinic/sync/indicator/SyncIndicatorStatusCalculator.kt b/app/src/main/java/org/simple/clinic/sync/indicator/SyncIndicatorStatusCalculator.kt
index 15e56753fc8..b789fca19b9 100644
--- a/app/src/main/java/org/simple/clinic/sync/indicator/SyncIndicatorStatusCalculator.kt
+++ b/app/src/main/java/org/simple/clinic/sync/indicator/SyncIndicatorStatusCalculator.kt
@@ -1,6 +1,7 @@
package org.simple.clinic.sync.indicator
import com.f2prateek.rx.preferences2.Preference
+import io.reactivex.annotations.CheckReturnValue
import io.reactivex.disposables.Disposable
import org.simple.clinic.di.AppScope
import org.simple.clinic.sync.DataSync
@@ -11,7 +12,6 @@ import org.simple.clinic.sync.SyncProgress.SUCCESS
import org.simple.clinic.sync.SyncProgress.SYNCING
import org.simple.clinic.util.UtcClock
import org.simple.clinic.util.scheduler.SchedulersProvider
-import javax.annotation.CheckReturnValue
import javax.inject.Inject
@AppScope
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index d671828b4b0..175d19d5d93 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -7,6 +7,7 @@ androidx-room = "2.5.2"
androidx-work = "2.7.1"
androidx-security-crypto = "1.1.0-alpha06"
androidx-viewmodel = "2.6.2"
+androidx-lifecycle = "2.6.2"
dagger = "2.48.1"
@@ -18,7 +19,7 @@ ktlint = "0.36.0"
lint = "31.0.2"
-mobius = "1.5.9"
+mobius = "1.5.14"
moshi = "1.14.0"
@@ -89,6 +90,8 @@ androidx-security-crypto = { module = "androidx.security:security-crypto-ktx", v
androidx-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-viewmodel" }
androidx-viewmodel-savedstate = { module = "androidx.lifecycle:lifecycle-viewmodel-savedstate", version.ref = "androidx-viewmodel" }
+androidx-lifecycle-livedata-ktx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidx-lifecycle" }
+
asm = "org.ow2.asm:asm:9.4"
dagger-dagger = { module = "com.google.dagger:dagger", version.ref = "dagger" }
diff --git a/mobius-base/build.gradle.kts b/mobius-base/build.gradle.kts
index 33f4357461d..ef7e21b88a3 100644
--- a/mobius-base/build.gradle.kts
+++ b/mobius-base/build.gradle.kts
@@ -47,4 +47,5 @@ dependencies {
implementation(projects.simplePlatform)
implementation(libs.androidx.viewmodel)
implementation(libs.androidx.viewmodel.savedstate)
+ implementation(libs.androidx.lifecycle.livedata.ktx)
}