This repository was archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 487
Improved app config handling (Identifier, local fallback) (DEV) #1553
Merged
ralfgehrer
merged 13 commits into
release/1.7.x
from
feature/improved-app-config-handling
Nov 10, 2020
Merged
Improved app config handling (Identifier, local fallback) (DEV) #1553
ralfgehrer
merged 13 commits into
release/1.7.x
from
feature/improved-app-config-handling
Nov 10, 2020
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ption could cancel the app config retrieval.
…ubscribers know when it is considered changed.
…e period, once the last subscription is gone, it's last value is cleared.
3 tasks
Contributor
|
Getting the same error as in #1550 , but the app isn't crashing any longer as promised by @d4rken ! <3 |
Contributor
harambasicluka
left a comment
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.
LGTM, also works on my device which crashed before.
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/download/AppConfigServer.kt
Show resolved
Hide resolved
mlenkeit
reviewed
Nov 10, 2020
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSource.kt
Show resolved
Hide resolved
harambasicluka
approved these changes
Nov 10, 2020
|
Kudos, SonarCloud Quality Gate passed!
|
ralfgehrer
approved these changes
Nov 10, 2020
Contributor
ralfgehrer
left a comment
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.
Works like a charm. Could almost be considered offline-mode ready ;)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
identifierfield that is unique, and represents the current app config. If the identifier changes, the app config should be considered changed (needed for EXPOSUREAPP-2718, risk calc reset after config change).Testing