COVIDSafe code from version 1.0.39 (#11)

This commit is contained in:
COVIDSafe Support 2020-07-21 15:45:27 +10:00 committed by GitHub
parent 24e16807e5
commit 15c427c73c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
95 changed files with 3571 additions and 4502 deletions

View file

@ -8,6 +8,8 @@ apply plugin: 'kotlin-kapt'
apply plugin: "androidx.navigation.safeargs.kotlin"
apply plugin: 'com.google.gms.google-services'
buildscript {
repositories {
google()
@ -33,15 +35,14 @@ android {
}
defaultConfig {
applicationId "au.gov.health.covidsafe"
resValue "string", "build_config_package", "au.gov.health.covidsafe"
minSdkVersion 21
/*
TargetSdk is currently set to 28 because we are using a greylisted api in SDK 29, in order to fix a BLE vulnerability
Before you increase the targetSdkVersion make sure that all its usage are still working
*/
targetSdkVersion 28
versionCode 33
versionName "1.0.33"
versionCode 39
versionName "1.0.39"
buildConfigField "String", "GITHASH", "\"${getGitHash()}\""
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@ -64,7 +65,7 @@ android {
buildConfigField "String", "SERVICE_FOREGROUND_CHANNEL_NAME", SERVICE_FOREGROUND_CHANNEL_NAME
buildConfigField "int", "PUSH_NOTIFICATION_ID", PUSH_NOTIFICATION_ID
buildConfigField "String", "PUSH_NOTIFICATION_CHANNEL_NAME", PUSH_NOTIFICATION_CHANNEL_NAME
buildConfigField "String", "PUSH_NOTIFICATION_CHANNEL_ID", PUSH_NOTIFICATION_CHANNEL_ID
buildConfigField "long", "SCAN_DURATION", SCAN_DURATION
buildConfigField "long", "MIN_SCAN_INTERVAL", MIN_SCAN_INTERVAL
@ -203,6 +204,7 @@ dependencies {
//androidx
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation "androidx.coordinatorlayout:coordinatorlayout:1.1.0"
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0-alpha01'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
@ -228,8 +230,8 @@ dependencies {
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
//bottom navigation
implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2'
implementation 'androidx.navigation:navigation-ui-ktx:2.2.2'
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0'
//cardview
implementation 'androidx.cardview:cardview:1.0.0'
@ -246,6 +248,9 @@ dependencies {
// flags
implementation 'com.michaelfotiadis:android-country-flags:1.0.3'
// Firebase Cloud Messaging
implementation 'com.google.firebase:firebase-messaging:20.2.3'
androidTestImplementation "androidx.room:room-testing:2.2.5"