-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from DP-3T/develop
Version 1.0.0
Showing
168 changed files
with
10,099 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Android Tests | ||
|
||
on: | ||
push: | ||
branches: [ master, develop ] | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
jobs: | ||
build: | ||
name: "Build APK" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Gradle | ||
run: cd calibration-app; ./gradlew assembleDebug | ||
- name: Upload APK | ||
uses: actions/[email protected] | ||
with: | ||
name: app | ||
path: calibration-app/app/build/outputs/apk/debug/app-debug.apk | ||
|
||
test: | ||
name: "Run Tests" | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Run tests | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
with: | ||
api-level: 29 | ||
script: cd dp3t-sdk; ./gradlew connectedProductionDebugAndroidTest | ||
|
||
sonar: | ||
name: "Sonar Analysis" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Sonar Analysis | ||
run: cd dp3t-sdk; ./gradlew sonarqube -Dsonar.login=${{secrets.SONAR_LOGIN}} | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Android Build | ||
|
||
on: | ||
push: | ||
branches: [ master, master-alpha ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Gradle | ||
run: cd calibration-app; ./gradlew assembleRelease -PkeystorePassword=${{secrets.KEYSTORE_PASSWORD}} -PkeyAliasPassword=${{secrets.KEY_ALIAS_PASSWORD}} | ||
- name: upload artefact to App Center | ||
uses: wzieba/[email protected] | ||
with: | ||
appName: ${{secrets.APPCENTER_ORGANIZATION}}/${{secrets.APPCENTER_APP}} | ||
token: ${{secrets.APPCENTER_API_TOKEN}} | ||
group: Internal | ||
file: calibration-app/app/build/outputs/apk/release/app-release.apk |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Upload AAR to bintray | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
name: "Upload AAR to bintray" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Upload | ||
run: cd dp3t-sdk; ./gradlew bintrayUpload -PbintrayUser=${{secrets.BINTRAY_USER}} -PbintrayApikey=${{secrets.BINTRAY_APIKEY}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
# Changelog for DP3T-SDK Android | ||
|
||
## version 1.0.0 (18.6.2020) | ||
|
||
- prevent sync from running when ExposureNotifications disabled | ||
- updated readme | ||
|
||
## Version 0.6.0 (17.6.2020) | ||
|
||
- additional error state for not enough disc space | ||
|
||
## Version 0.5.7 (16.6.2020) | ||
|
||
- improve sync logic to prevent rate limit issues with google api (sync always at 6am/6pm Swiss time!) | ||
- schedule sync tasks only every two hours to match iOS logic | ||
- only return latest exposure date to the app | ||
- do not show statuscode error 502 and 503 directly | ||
- make fake data in exposed requests more realistic | ||
|
||
## Version 0.5.6 (12.6.2020) | ||
|
||
- increased time delta check to 10min | ||
|
||
## Version 0.5.5 (11.6.2020) | ||
|
||
- improve history logging | ||
|
||
## Version 0.5.4 (11.6.2020) | ||
|
||
- bugfix for user-visible logs | ||
|
||
## Version 0.5.3 (11.6.2020) | ||
|
||
- new sync error state for ssl/tls errors | ||
- allow export of log database in calibration flavor | ||
- add database for user-visible logs (event history) | ||
|
||
## Version 0.5.2 (3.6.2020) | ||
|
||
- more logs | ||
- code cleanup | ||
|
||
## Version 0.5.1 (27.5.2020) | ||
|
||
- reduce number of sync requests and prevent rate limit issue | ||
- improved error logging | ||
|
||
## Version 0.5.0 (22.5.2020) | ||
|
||
- cleanup keyfiles after insertion | ||
|
||
## Version 0.4.4 (22.5.2020) | ||
|
||
- do not show sync error if syncing/tracing is disabled | ||
- set sync times to 6am and 6pm local time | ||
|
||
## Version 0.4.3 (22.5.2020) | ||
|
||
- more flexibility for errorState | ||
|
||
## Version 0.4.2 (21.5.2020) | ||
|
||
- add new formula for exposure detection | ||
|
||
## Version 0.4.1 (21.5.2020) | ||
|
||
- improved error notification handling | ||
- make sure exposure days are only flagged as deleted to prevent renotification | ||
|
||
## Version 0.4.0 (19.5.2020) | ||
|
||
- switched to GAEN framework | ||
|
||
## Version 0.2.6 (8.5.2020) | ||
|
||
- Change signing of test calibration app | ||
- Make location hardware optional | ||
|
||
## Version 0.2.5 (7.5.2020) | ||
|
||
- updated contact logic window size to 5min | ||
|
||
## Version 0.2.4 (6.5.2020) | ||
|
||
- simplified contact logic and increased threshold | ||
|
||
## Version 0.2.3 (4.5.2020) | ||
|
||
- Change 16bit UUID to DP3T registered FD68 | ||
|
||
## Version 0.2.2 (4.5.2020) | ||
|
||
- improved sync signature exception handling | ||
|
||
## Version 0.2.1 (1.5.2020) | ||
|
||
- Add logs to sync worker | ||
|
||
## Version 0.2.0 (30.4.2020) | ||
|
||
- Option to pin TLS certificates of backend endpoints | ||
|
||
## Version 0.1.16 (30.4.2020) | ||
|
||
- provide a public key to authenticate bucket response | ||
|
||
## Version 0.1.15 (30.4.2020) | ||
|
||
- stop tracing after reporting positive | ||
- make contact logic parameters configurable | ||
|
||
## Version 0.1.14 (29.4.2020) | ||
|
||
- fix attenuation calculation | ||
|
||
## Version 0.1.13 (29.4.2020) | ||
|
||
- revert premature dependency update | ||
|
||
## Version 0.1.12 (29.4.2020) | ||
|
||
- Switch default advertise mode to BALANCED | ||
|
||
## Version 0.1.11 (29.4.2020) | ||
|
||
- Change exposure logic to count all exposure windows per day (breaking database change, needs reinstall) | ||
- use attenuation for thresholds instead of rssi | ||
|
||
## Version 0.1.10 (28.4.2020) | ||
|
||
- improved error handling for sync requests | ||
- add device info to calibration database | ||
|
||
## Version 0.1.9 (27.4.2020) | ||
|
||
- add log entry for every handshake (ephId) received | ||
- use timestamp instead of DayDate to report key to backend | ||
- make sure location services are enabled and report error otherwise, needed for BLE scanning to work | ||
|
||
## Version 0.1.8 (25.4.2020) | ||
|
||
- Add more options to Calibration app to test Bluetooth settings | ||
- Set all default scan and advertise settings explicitly | ||
- Show Version in Calibration app Parameters tab | ||
- Add Changelog file |
Oops, something went wrong.