Skip to content

Commit

Permalink
2.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DeKaN committed Sep 18, 2023
2 parents 66f8b6c + 1bc3300 commit 3547f88
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Piano SDK for Android

## v2.8.1
* Fix bug with logout url
* Fix bug with Javascript threads in Show Forms
* Updated dependencies:
- androidx.annotation:annotation [1.6.0 -> 1.7.0]
https://developer.android.com/jetpack/androidx/releases/annotation#1.7.0
- androidx.lifecycle:lifecycle-common-java8 [2.6.1 -> 2.6.2]
https://developer.android.com/jetpack/androidx/releases/lifecycle#2.6.2
- com.google.android.gms:play-services-auth [20.6.0 -> 20.7.0]
- io.piano.android:cxense [2.4.0 -> 2.5.0]

## v2.8.0
* Add support for Piano Consents
* Deprecated static methods of `PianoId` class, use instance methods
Expand Down Expand Up @@ -48,6 +59,7 @@
https://github.com/square/retrofit
- com.squareup.moshi:moshi [1.13.0 -> 1.14.0]
https://github.com/square/moshi/
- io.piano.android:cxense [2.3.1 -> 2.4.0]

## v2.6.2
* Fix getUserInfo API parser
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=2.8.0
VERSION_NAME=2.8.1
GROUP=io.piano.android

POM_DESCRIPTION=Piano SDK for Android
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ moshiIR = "0.22.1"
# AndroidX libraries
compatLibrary = "1.6.1"
androidxActivity = "1.7.2"
annotationsLibrary = "1.6.0"
annotationsLibrary = "1.7.0"
fragmentLibrary = "1.6.1"
materialLibrary = "1.9.0"
lifecycleLibrary = "2.6.1"
lifecycleLibrary = "2.6.2"
prefsLibrary = "1.2.1"
multidex = "2.0.1"

# Third party Libraries
facebookLogin = "16.2.0"
googlePlayServices = "20.6.0"
googlePlayServices = "20.7.0"
retrofit = "2.9.0"
okhttp = "4.11.0"
moshi = "1.15.0"
timber = "5.0.1"
pianoConsents = "1.0.0"
cxense = "2.4.0"
cxense = "2.5.0"
coroutines = "1.7.3"

# Test Libraries
Expand Down
2 changes: 1 addition & 1 deletion id/id/src/main/java/io/piano/android/id/PianoIdClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class PianoIdClient internal constructor(
@JvmOverloads
fun signOut(accessToken: String, callback: PianoIdFuncCallback<Any>? = null) {
val signOutCallback = callback ?: {}
api.signOut(hostUrl.newBuilder().encodedPath(SIGN_OUT_PATH).build().toString(), aid, accessToken)
api.signOut(hostUrl.resolve(SIGN_OUT_PATH).toString(), aid, accessToken)
.enqueue(signOutCallback.asRetrofitCallback())
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class BaseJsInterface {
val view = fragment?.webView ?: webView
view?.also {
val func = { it.evaluateJavascript(code, null) }
if (delay > 0) it.postDelayed(func, delay) else func()
if (delay > 0) it.postDelayed(func, delay) else it.post(func)
} ?: Timber.w("We got null for webview")
}
}

0 comments on commit 3547f88

Please sign in to comment.