Skip to content

Commit

Permalink
[Auto Generated] 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Aug 25, 2023
1 parent 2b4bc42 commit 13b714e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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.1.7"
versionName "1.2.0"
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()
.header("User-Agent", platformConfig?.userAgent ?: "")
.header("Authorization", "Bearer ${platformConfig?.oauthClient?.token?.token}")
.header("x-fp-sdk-version", "1.1.7")
.header("x-fp-sdk-version", "1.2.0")
platformConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ApplicationHeaderInterceptor(
}
header("Accept-Language", languageCode)
header("x-currency-code", currencyCode)
header("x-fp-sdk-version", "1.1.7")
header("x-fp-sdk-version", "1.2.0")
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.1.7")
.header("x-fp-sdk-version", "1.2.0")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down

0 comments on commit 13b714e

Please sign in to comment.