-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK Version 2.0 #214
Merged
Merged
SDK Version 2.0 #214
Conversation
This file contains 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
Contributor
simonroesch
commented
Oct 27, 2020
- updated to play-services-nearby-exposurenotification-1.7.1-eap.aar, make sure to update this in your project as well!
- use exposureWindows to compute attenuationDurations
- exposureDays now returns all exposure days, not only the last one as in previous versions
- updated defaults for attenuationBucketThresholds, new values are 55 and 63
- add Experiment-Mode to calibration app to simplify experiments with multiple devices and the new ExposureWindows-API (see CALIBRATION_APP_USAGE.md for details)
- expose EN-Module version, this can be used to extend the userAgent to be able to handle potential bugs in future EN versions from the backend
- Version 2.0.0 of the SDK will require EN module version >= 1.6, if run on older versions a notification will be generated asking the user to update Google Play Services
- add config option DP3T.setNumberOfDaysToConsiderForExposure() to define how many days after the exposure an exposure should be considered
- add config option DP3T.setNumberOfDaysToKeepExposedDays() to define how many days after an exposure is reported, this should be kept
…le-en-api-1-5 # Conflicts: # calibration-app/app/build.gradle # calibration-app/app/src/main/java/org/dpppt/android/calibration/parameters/ParametersFragment.java # dp3t-sdk/sdk/build.gradle
…xposureSummary and exposureWindows result
…lds of SwissCovid
… gives us the ability to later on change the submission of the keys from daily buckets to one bucket with all keys and distinguish the exposuredays from the exposurewindows
remove deprecated methods or mark them deprecated in sdk move ExposureNotificationBroadcastReceiver work to ExposureWindowMatchingWorker to make sure we do not use too much time in the BroadcastReceiver
…le-en-api-1-5 # Conflicts: # dp3t-sdk/sdk/build.gradle
…d add calibrationConfidence to the experiment result
…geable values (eg. EN module version) and remove unused AppId-concept
…defined in numberOfDaysToConsiderExposure
…in the end to stay as close to the ENv1.0 implementation as possible
add DummyWorker as workaround for WorkManager bug
…ges made for v2.0
SDK Version 2.0 including new Google API features (ExposureWindows)
…ions, keep error until next proper successful sync
…ed-due-to-rate-limit do not reset sync-errors if sync is skipped due to rate limit limitations
…exact exposure values if logs are enabled
…g-worker add debug logs to ExposureWindowMatchingWorker to be able to see the …
Kudos, SonarCloud Quality Gate passed! 0 Bugs 0.0% Coverage The version of Java (1.8.0_272) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11. |
fbzli
approved these changes
Oct 28, 2020
gallmann-ubique
approved these changes
Oct 28, 2020
UBaggeler
approved these changes
Oct 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.