Skip to content

Commit

Permalink
feat: set app version
Browse files Browse the repository at this point in the history
Co-authored-by: Kaizen <[email protected]>
  • Loading branch information
nicola-95 and Kaizen-7 authored Mar 16, 2022
1 parent 01daefc commit ccfe7e7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import android.app.Application
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.*
import dagger.hilt.android.HiltAndroidApp
import it.ministerodellasalute.verificaC19sdk.network.HeaderInterceptor
import it.ministerodellasalute.verificaC19sdk.worker.LoadKeysWorker
import java.util.concurrent.TimeUnit
import javax.inject.Inject
Expand All @@ -45,6 +46,7 @@ class WhiteLabelApplication : Application(), Configuration.Provider {

override fun onCreate() {
super.onCreate()
HeaderInterceptor.appVersion = BuildConfig.VERSION_NAME
setWorkManager()
}

Expand Down

0 comments on commit ccfe7e7

Please sign in to comment.