diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ddefbef..914298be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# CHANGE LOG (1.4.5) - fp-v1.9.3 +# CHANGE LOG (1.4.7) - fp-v1.9.3 ## Application Client diff --git a/README.md b/README.md index b725ebbf..705f101a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Get started with the Kotlin Development SDK for Fynd Platform # Usage -1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.5'` in your app build.gradle +1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.7'` in your app build.gradle 2. Add it in your root build.gradle at the end of repositories: allprojects { repositories { diff --git a/build.gradle b/build.gradle index 24b72921..dc950b91 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ android { minSdkVersion 21 targetSdkVersion 31 versionCode 2 - versionName "1.4.5" + versionName "1.4.7" 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 52cfc017..2653add1 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().apply { header("User-Agent", platformConfig?.userAgent ?: "") header("Authorization", "Bearer ${platformConfig?.oauthClient?.token?.token}") - header("x-fp-sdk-version", "1.4.5") + header("x-fp-sdk-version", "1.4.7") header("x-currency-code", platformConfig?.currencyCode ?: "INR") platformConfig?.locationDetail?.let { header("x-location-detail", HttpClient.gson.toJson(it)) diff --git a/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt b/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt index eae87ec0..acbc1c5c 100644 --- a/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt +++ b/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt @@ -27,7 +27,7 @@ class ApplicationHeaderInterceptor( header("x-location-detail", HttpClient.gson.toJson(it)) } header("x-currency-code", currencyCode) - header("x-fp-sdk-version", "1.4.5") + header("x-fp-sdk-version", "1.4.7") 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 704dd9f4..a3be78f6 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", "1.4.5") + .header("x-fp-sdk-version", "1.4.7") publicConfig?.extraHeaders?.let { for ((key, value) in it) { builder.header(key,value)