diff --git a/CHANGELOG.md b/CHANGELOG.md index 4346b632..99d7ea7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Changed + +- Update Bitmovin's native Android SDK version to `3.92.0` + ### Fixed - Error where setting `PlaybackConfig.isAutoplayEnabled = true` causes the player view creation to fail on Android diff --git a/android/build.gradle b/android/build.gradle index 37d586f7..d091538a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -105,6 +105,6 @@ dependencies { // Bitmovin implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.33.0' implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' - implementation 'com.bitmovin.player:player:3.91.0+jason' - implementation 'com.bitmovin.player:player-media-session:3.91.0+jason' + implementation 'com.bitmovin.player:player:3.92.0+jason' + implementation 'com.bitmovin.player:player-media-session:3.92.0+jason' } diff --git a/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt b/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt index ff7afa28..af036da9 100644 --- a/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt +++ b/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt @@ -4,6 +4,7 @@ import android.content.Intent import android.os.Binder import android.os.IBinder import com.bitmovin.player.api.Player +import com.bitmovin.player.api.media.session.ControllerInfo import com.bitmovin.player.api.media.session.MediaSession import com.bitmovin.player.api.media.session.MediaSessionService @@ -29,7 +30,7 @@ class MediaSessionPlaybackService : MediaSessionService() { private val binder = ServiceBinder() private var mediaSession: MediaSession? = null - override fun onGetSession(): MediaSession? = null + override fun onGetSession(controllerInfo: ControllerInfo) = null override fun onDestroy() { disconnectSession()