Skip to content

Commit

Permalink
Updated project
Browse files Browse the repository at this point in the history
  • Loading branch information
francodriansetti committed Mar 7, 2024
1 parent cc382ef commit 6c28cf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ plugins {
id("com.android.application") version "8.2.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
id("com.android.library") version "8.2.2" apply false
kotlin("jvm") version "1.9.22"
//kotlin("plugin.serialization") version "1.9.22"

id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10" apply true
kotlin("jvm") version "1.9.22"
}

dependencies {
implementation("androidx.compose.runtime:runtime:1.6.2")
//implementation("androidx.compose.runtime:runtime-livedata:1.6.2")
//implementation("androidx.compose.runtime:runtime-rxjava2:1.6.2")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
implementation("androidx.compose.runtime:runtime:1.6.3")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
}

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ object PlayBackSDKManager {
fetchPlayerInfo(completion)
}

fun fetchPlayerInfo(completion: (String?, Throwable?) -> Unit) {
private fun fetchPlayerInfo(completion: (String?, Throwable?) -> Unit) {
val playerInformationAPIExist = playerInformationAPI ?: run {
completion(null, SDKError.InitializationError)
return
Expand Down

0 comments on commit 6c28cf3

Please sign in to comment.