diff --git a/build.gradle b/build.gradle index 04adc35e..c584f25f 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ android { minSdkVersion 21 targetSdkVersion 31 versionCode 2 - versionName "2.0.0" + versionName "1.3.0" multiDexEnabled true vectorDrawables.useSupportLibrary = true diff --git a/src/main/java/com/sdk/common/AccessTokenInterceptor.kt b/src/main/java/com/sdk/common/AccessTokenInterceptor.kt index df7408d9..20189cd7 100644 --- a/src/main/java/com/sdk/common/AccessTokenInterceptor.kt +++ b/src/main/java/com/sdk/common/AccessTokenInterceptor.kt @@ -13,7 +13,7 @@ class AccessTokenInterceptor( val builder = original.newBuilder() .header("User-Agent", platformConfig?.userAgent ?: "") .header("Authorization", "Bearer ${platformConfig?.oauthClient?.token?.token}") - .header("x-fp-sdk-version", "2.0.0") + .header("x-fp-sdk-version", "1.3.0") platformConfig?.extraHeaders?.let { for ((key, value) in it) { builder.header(key,value) diff --git a/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt b/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt index bf2c15a8..38443050 100644 --- a/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt +++ b/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt @@ -24,7 +24,7 @@ class ApplicationHeaderInterceptor( } header("Accept-Language", languageCode) header("x-currency-code", currencyCode) - header("x-fp-sdk-version", "2.0.0") + header("x-fp-sdk-version", "1.3.0") val bearerToken = Base64.encodeToString( "$applicationId:$applicationToken".toByteArray(), diff --git a/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt b/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt index 42f8f653..901f3605 100644 --- a/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt +++ b/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt @@ -11,7 +11,7 @@ class PublicHeaderInterceptor( val original = chain.request() val builder = original.newBuilder() - .header("x-fp-sdk-version", "2.0.0") + .header("x-fp-sdk-version", "1.3.0") publicConfig?.extraHeaders?.let { for ((key, value) in it) { builder.header(key,value)