static version in OpenDatasetMessage

This commit is contained in:
Milos Kozak 2019-07-14 17:13:07 +01:00
parent d7a28bf713
commit 9d15ea608e
2 changed files with 3 additions and 1 deletions

View file

@ -31,6 +31,8 @@ object TidepoolUploader {
private const val INTEGRATION_BASE_URL = "https://int-api.tidepool.org" private const val INTEGRATION_BASE_URL = "https://int-api.tidepool.org"
private const val PRODUCTION_BASE_URL = "https://api.tidepool.org" private const val PRODUCTION_BASE_URL = "https://api.tidepool.org"
internal const val VERSION = "0.0.1"
private var retrofit: Retrofit? = null private var retrofit: Retrofit? = null
private var session: Session? = null private var session: Session? = null

View file

@ -46,7 +46,7 @@ class OpenDatasetRequestMessage : BaseMessage() {
@Expose @Expose
val name = BuildConfig.APPLICATION_ID val name = BuildConfig.APPLICATION_ID
@Expose @Expose
val version = BuildConfig.VERSION_NAME val version = TidepoolUploader.VERSION
} }
inner class Deduplicator { inner class Deduplicator {