Skip to content
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 55 commits into from
Oct 28, 2020
Merged

SDK Version 2.0 #214

merged 55 commits into from
Oct 28, 2020

Conversation

simonroesch
Copy link
Contributor

  • 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
… 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
simonroesch and others added 21 commits October 15, 2020 13:46
…in the end to stay as close to the ENv1.0 implementation as possible
add DummyWorker as workaround for WorkManager bug
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
…g-worker

add debug logs to ExposureWindowMatchingWorker to be able to see the …
@simonroesch simonroesch marked this pull request as ready for review October 28, 2020 17:25
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 7 Code Smells

0.0% 0.0% Coverage
1.9% 1.9% Duplication

warning 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.
Read more here

@simonroesch simonroesch merged commit dc9db00 into master Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants