Skip to content

Commit

Permalink
[Auto Generated] 1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed May 6, 2024
1 parent ae12163 commit 7c84b72
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.3'` in your app build.gradle
1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.4'` in your app build.gradle
2. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
minSdkVersion 21
targetSdkVersion 31
versionCode 2
versionName "1.4.3"
versionName "1.4.4"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/common/AccessTokenInterceptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.3")
header("x-fp-sdk-version", "1.4.4")
header("x-currency-code", platformConfig?.currencyCode ?: "INR")
platformConfig?.locationDetail?.let {
header("x-location-detail", HttpClient.gson.toJson(it))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.3")
header("x-fp-sdk-version", "1.4.4")
val bearerToken =
Base64.encodeToString(
"$applicationId:$applicationToken".toByteArray(),
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/common/PublicHeaderInterceptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PublicHeaderInterceptor(
val original = chain.request()

val builder = original.newBuilder()
.header("x-fp-sdk-version", "1.4.3")
.header("x-fp-sdk-version", "1.4.4")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down

0 comments on commit 7c84b72

Please sign in to comment.