Skip to content

Commit

Permalink
Merge branch 'develop' into feature/super-dgp-ui
Browse files Browse the repository at this point in the history
# Conflicts:
#	app/src/main/java/it/ministerodellasalute/verificaC19/ui/FirstActivity.kt
#	app/src/main/java/it/ministerodellasalute/verificaC19/ui/main/verification/VerificationFragment.kt
#	app/src/main/res/values/strings.xml
  • Loading branch information
nicola-95 committed Dec 2, 2021
2 parents deb18c6 + 78c763d commit 07f0981
Show file tree
Hide file tree
Showing 11 changed files with 502 additions and 100 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ android-app

#### Android Studio based build

Modifiy `app\build.gradle` file, changing `BASE_URL`, `SERVER_HOST` and `CERTIFICATE_SHA` `debug` config values with `release` config values. [Here](https://github.com/ministero-salute/it-dgc-documentation/blob/master/openapi.yaml) you can find more info on app's endpoints.
Modify `app\build.gradle` file, changing `BASE_URL`, `SERVER_HOST` and `CERTIFICATE_SHA` `debug` config values with `release` config values. [Here](https://github.com/ministero-salute/it-dgc-documentation/blob/master/openapi.yaml) you can find more info on app's endpoints.

This project uses the Gradle build system. To build this project, use the `gradlew build` command or use `"Run"` in Android Studio.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
package it.ministerodellasalute.verificaC19

import android.app.Application
import android.content.SharedPreferences
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.*
import dagger.hilt.android.HiltAndroidApp
Expand All @@ -48,7 +49,7 @@ class VerificaApplication : Application(), Configuration.Provider {
setWorkManager()
}

private fun setWorkManager(){
fun setWorkManager(){
val uploadWorkRequest: WorkRequest =
PeriodicWorkRequestBuilder<LoadKeysWorker>(1, TimeUnit.DAYS)
.setConstraints(Constraints.Builder()
Expand Down
Loading

0 comments on commit 07f0981

Please sign in to comment.