diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/comm/TidepoolUploader.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/comm/TidepoolUploader.kt index 891e091574..5f6d5cc5d1 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/comm/TidepoolUploader.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/comm/TidepoolUploader.kt @@ -31,6 +31,8 @@ object TidepoolUploader { private const val INTEGRATION_BASE_URL = "https://int-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 session: Session? = null diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/messages/OpenDatasetRequestMessage.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/messages/OpenDatasetRequestMessage.kt index 19ca54410a..38b93b2f7b 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/messages/OpenDatasetRequestMessage.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/tidepool/messages/OpenDatasetRequestMessage.kt @@ -46,7 +46,7 @@ class OpenDatasetRequestMessage : BaseMessage() { @Expose val name = BuildConfig.APPLICATION_ID @Expose - val version = BuildConfig.VERSION_NAME + val version = TidepoolUploader.VERSION } inner class Deduplicator {