From 81db12ca4e8c169b16db9d3c41c6f0a093ba064d Mon Sep 17 00:00:00 2001 From: sirknightj Date: Wed, 17 Apr 2024 13:01:53 -0700 Subject: [PATCH 1/2] Dynamic version constant --- .../main/java/com/amazonaws/kinesisvideo/utils/Constants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java b/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java index 08dce2a..cc68ae8 100644 --- a/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java +++ b/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java @@ -1,4 +1,4 @@ -package com.amazonaws.kinesisvideo.utils; +import com.amazonaws.kinesisvideo.demoapp.BuildConfig; public class Constants { /** @@ -8,7 +8,7 @@ public class Constants { /** * SDK version identifier */ - public static final String VERSION = "1.1.0"; + public static final String VERSION = BuildConfig.VERSION_NAME; /** * Query parameter for Channel ARN. Used for calling Kinesis Video Websocket APIs. From 2a423915cee5a4cdfd9772553f4cbb4f82d36889 Mon Sep 17 00:00:00 2001 From: sirknightj Date: Wed, 17 Apr 2024 13:02:54 -0700 Subject: [PATCH 2/2] Readd package --- .../main/java/com/amazonaws/kinesisvideo/utils/Constants.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java b/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java index cc68ae8..c58a46e 100644 --- a/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java +++ b/app/src/main/java/com/amazonaws/kinesisvideo/utils/Constants.java @@ -1,3 +1,5 @@ +package com.amazonaws.kinesisvideo.utils; + import com.amazonaws.kinesisvideo.demoapp.BuildConfig; public class Constants {