Git Product home page Git Product logo

wearmmr's Introduction

WearMMR

Android CI

This is a WearOS app and watchface for displaying your Dota 2 MMR. On first launch, you will be prompted to input your (or somebody else's) player ID. After that, you will be able to see your estimated MMR every time you look at your watch. When you click on the MMR, detailed view is shown. You can add the MMR complication to the other watchface that supports it as well.

Available in Google Play, as well as here

Project's kanban board with plans and work in progress can be viewed here

Dota, the Dota 2 logo, and Defense of the Ancients are trademarks and/or registered trademarks of Valve Corporation.

wearmmr's People

Contributors

dependabot[bot] avatar fobo66 avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wearmmr's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/android.yml
  • actions/checkout v4.1.7
  • actions/setup-java v4
  • gradle/actions v4
  • actions/upload-artifact v4
  • actions/checkout v4.1.7
  • actions/setup-java v4
  • gradle/actions v4
  • actions/cache v4
  • reactivecircus/android-emulator-runner v2.32.0
  • actions/checkout v4.1.7
  • actions/setup-java v4
  • gradle/actions v4
gradle
buildSrc/src/main/kotlin/PropertiesLoader.kt
buildSrc/src/main/kotlin/SecretKeys.kt
gradle.properties
settings.gradle.kts
  • com.android.application 8.7.0-alpha07
  • com.android.library 8.7.0-alpha07
  • com.google.devtools.ksp 2.0.0-1.0.22
  • io.gitlab.arturbosch.detekt 1.23.6
  • io.coil-kt:coil-compose 2.7.0
  • com.google.android.material:material 1.12.0
  • com.jakewharton.timber:timber 5.0.1
  • com.android.tools:desugar_jdk_libs 2.0.4
  • org.jetbrains.kotlinx:kotlinx-coroutines-android 1.8.1
  • org.jetbrains.kotlinx:kotlinx-coroutines-test 1.8.1
  • io.insert-koin:koin-android 3.5.6
  • io.insert-koin:koin-androidx-compose 3.5.6
  • androidx.compose.foundation:foundation 1.6.8
  • androidx.compose.ui:ui-tooling-preview 1.6.8
  • androidx.wear.compose:compose-ui-tooling 1.4.0-beta03
  • androidx.compose.ui:ui-tooling 1.6.8
  • androidx.wear.compose:compose-foundation 1.4.0-beta03
  • androidx.compose.material3:material3 1.2.1
  • androidx.wear.compose:compose-material3 1.0.0-alpha23
  • androidx.wear.compose:compose-material 1.4.0-beta03
  • androidx.wear.compose:compose-navigation 1.4.0-beta03
  • androidx.wear:wear 1.4.0-alpha01
  • androidx.wear:wear-phone-interactions 1.1.0-alpha04
  • androidx.core:core-ktx 1.13.1
  • androidx.activity:activity-compose 1.9.1
  • androidx.startup:startup-runtime 1.2.0-alpha02
  • androidx.constraintlayout:constraintlayout 2.2.0-alpha14
  • androidx.datastore:datastore-preferences 1.1.1
  • androidx.lifecycle:lifecycle-runtime-compose 2.8.4
  • androidx.lifecycle:lifecycle-viewmodel-compose 2.8.4
  • androidx.test:core-ktx 1.6.1
  • androidx.test.ext:junit-ktx 1.2.1
  • androidx.test:runner 1.6.1
  • androidx.wear.watchface:watchface 1.2.1
  • androidx.wear.watchface:watchface-editor 1.2.1
  • androidx.wear.watchface:watchface-complications-rendering 1.2.1
  • androidx.wear.watchface:watchface-complications-data-source 1.2.1
  • androidx.wear.watchface:watchface-complications-data-source-ktx 1.2.1
  • androidx.room:room-runtime 2.6.1
  • androidx.room:room-ktx 2.6.1
  • androidx.room:room-compiler 2.6.1
  • io.ktor:ktor-client-okhttp 2.3.12
  • io.ktor:ktor-client-mock 2.3.12
  • io.ktor:ktor-client-content-negotiation 2.3.12
  • io.ktor:ktor-serialization-kotlinx-json 2.3.12
  • de.jensklingenberg.ktorfit 2.0.0
  • de.jensklingenberg.ktorfit:ktorfit-lib-light 2.0.0
  • com.google.firebase:firebase-bom 33.1.2
  • com.google.firebase.crashlytics 3.0.2
  • com.google.gms.google-services 4.4.2
build.gradle.kts
app/build.gradle.kts
buildSrc/build.gradle.kts
  • io.github.cdimascio:dotenv-kotlin 6.4.1
companion/build.gradle.kts
data/build.gradle.kts
domain/build.gradle.kts
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.9

  • Check this box to trigger a request for Renovate to run again on this repository

Crash during Play Store review

Describe the bug
Looks like app crashed multiple times during Play Store review on the real device.

Link to the Crashlytics

Stacktrace:

Caused by kotlinx.serialization.MissingFieldException: Field 'estimate' is required for type with serial name 'io.github.fobo66.data.entities.MmrEstimate', but it was missing at path: $.mmr_estimate at path: $.mmr_estimate
       at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:40)
       at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100)
       at io.ktor.serialization.kotlinx.KotlinxSerializationConverter.deserialize(KotlinxSerializationConverter.kt:71)
       at io.ktor.serialization.ContentConverterKt$deserialize$$inlined$map$1$2.emit(Emitters.kt:224)
       at kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$3.collect(FlowKt__BuildersKt.java:115)
       at kotlinx.coroutines.flow.AbstractFlow.collect$bridge(AbstractFlow.java:176)
       at io.ktor.serialization.ContentConverterKt$deserialize$$inlined$map$1.collect(SafeCollector.common.kt:13)
       at kotlinx.coroutines.flow.FlowKt__ReduceKt.firstOrNull(FlowKt__ReduceKt.java:243)
       at kotlinx.coroutines.flow.FlowKt.firstOrNull(FlowKt.java:1)
       at io.ktor.serialization.ContentConverterKt.deserialize(ContentConverterKt.java:128)
       at io.ktor.client.plugins.contentnegotiation.ContentNegotiation.convertResponse$ktor_client_content_negotiation(ContentNegotiation.java:185)
       at io.ktor.client.plugins.contentnegotiation.ContentNegotiation$Plugin$install$2.invokeSuspend(ContentNegotiation.java:210)
       at io.ktor.client.HttpClient$2.invokeSuspend$bridge(HttpClient.kt:1156)
       at io.ktor.client.plugins.contentnegotiation.ContentNegotiation$Plugin$install$2.invoke(ContentNegotiation.java:36)
       at io.ktor.client.plugins.DefaultTransformKt$defaultTransformers$2.invoke$bridge(DefaultTransformKt.java:36)
       at io.ktor.client.plugins.contentnegotiation.ContentNegotiation$Plugin$install$2.invoke(ContentNegotiation.java:41)
       at io.ktor.client.HttpClient$2.invoke$bridge(HttpClient.kt:41)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:123)
       at io.ktor.util.pipeline.SuspendFunctionGun.proceed(SuspendFunctionGun.kt:81)
       at io.ktor.client.HttpClient$4.invokeSuspend(HttpClient.kt:173)
       at io.ktor.client.HttpClient$4.invokeSuspend$bridge(HttpClient.kt:176)
       at io.ktor.client.HttpClient$4.invoke(HttpClient.kt:35)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:123)
       at io.ktor.util.pipeline.SuspendFunctionGun.proceed(SuspendFunctionGun.kt:81)
       at io.ktor.util.pipeline.SuspendFunctionGun.proceedWith(SuspendFunctionGun.kt:91)
       at io.ktor.client.plugins.HttpCallValidator$Companion$install$2.invokeSuspend(HttpCallValidator.java:138)
       at io.ktor.client.plugins.HttpCallValidator$Companion$install$1.invokeSuspend$bridge(HttpCallValidator.kt:63)
       at io.ktor.client.plugins.HttpCallValidator$Companion$install$2.invoke(HttpCallValidator.java:26)
       at io.ktor.client.plugins.HttpCallValidator$Companion$install$1.invoke$bridge(HttpCallValidator.kt:26)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:123)
       at io.ktor.util.pipeline.SuspendFunctionGun.proceed(SuspendFunctionGun.kt:81)
       at io.ktor.util.pipeline.SuspendFunctionGun.execute$ktor_utils(SuspendFunctionGun.kt:101)
       at io.ktor.util.pipeline.Pipeline.execute(Pipeline.kt:77)
       at io.ktor.client.call.HttpClientCall.bodyNullable(HttpClientCall.kt:88)
       at io.github.fobo66.data.api._MatchmakingRatingApiImpl.fetchPlayerProfile(_MatchmakingRatingApiImpl.kt:58)
       at io.github.fobo66.data.api._MatchmakingRatingApiImpl$fetchPlayerProfile$1.invokeSuspend(_MatchmakingRatingApiImpl.kt:13)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
       at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.java:14)
       at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
       at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
       at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.java:14)
       at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
       at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
       at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.java:14)
       at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
       at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
       at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
       at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.java:14)
       at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
       at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
       at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:2)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java:570)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

To Reproduce

  1. Go to settings
  2. Enter player id
  3. Go back to the home screen
  4. See error

Expected behavior
App displays player info and MMR

Smartphone (please complete the following information):

  • Device: Samsung Watch4 Classic
  • OS: Android 11 (WearOS 3)
  • Version v2.1

Additional context

Crash seems to originate from kotlinx.serialization

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.