static version in OpenDatasetMessage
This commit is contained in:
parent
d7a28bf713
commit
9d15ea608e
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue