-
Notifications
You must be signed in to change notification settings - Fork 499
Fix countries missing in onboarding after in-app reset (EXPOSUREAPP-4203) #1849
Fix countries missing in onboarding after in-app reset (EXPOSUREAPP-4203) #1849
Conversation
…itself is cached already. When accessing the countrylist they will be mapped from the latest available app config.
...a/de/rki/coronawarnapp/ui/interoperability/InteroperabilityConfigurationFragmentViewModel.kt
Outdated
Show resolved
Hide resolved
.../rki/coronawarnapp/ui/submission/warnothers/SubmissionResultPositiveOtherWarningViewModel.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the reset, and there were flags shown in the onboarding.
I've observed a strange behaviour while testing: My app has been installed for about 2 weeks on my Huawei device which I've used to test this fix, and the first time I've tried to reset the app, the country list still didn't show up in the onboarding. After this I deleted my app data and tried it again. Not sure what to make of this. EDIT: After further testing, the app hanging doesn't happen on INT but it does happen on WRU_XD and XA, probably other environments also which I haven't tested yet. |
Kudos, SonarCloud Quality Gate passed! |
I'm looking into it, thanks. |
I think what @SamuraiKek is experiencing is related to a blocking call on the mainthread for which I will open an extra PR. |
Remove the extra flow that would cache the countries. The app config itself is cached already.
When accessing the country list they will be mapped from the latest available app config.
Testing