Skip to content

Commit

Permalink
Merge pull request #425 from bitmovin/update_android_player_to_3.65.0…
Browse files Browse the repository at this point in the history
…+jason

Update android player to 3.65.0+jason
  • Loading branch information
zigavehovec authored Apr 8, 2024
2 parents 71df1a6 + 37ccc91 commit 56b9b82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Changed

- Android: Default Picture-in-Picture implementation doesn't automatically hide/show the Toolbar anymore. This should be handled by the app itself, check out the sample app for an example implementation
- Update Bitmovin's native Android SDK version to `3.65.0`

## [0.20.0] (2024-03-29)

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ dependencies {
// Bitmovin
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.31.0'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
implementation 'com.bitmovin.player:player:3.64.0+jason'
implementation 'com.bitmovin.player:player:3.65.0+jason'
}
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ fun ReadableMap.toAdSource(): AdSource? {
* Converts any JS string into an `AdSourceType` enum value.
*/
private fun String.toAdSourceType(): AdSourceType? = when (this) {
"bitmovin" -> AdSourceType.Bitmovin
"ima" -> AdSourceType.Ima
"progressive" -> AdSourceType.Progressive
"unknown" -> AdSourceType.Unknown
Expand Down Expand Up @@ -626,6 +627,7 @@ fun AdSource.toJson(): WritableMap = Arguments.createMap().apply {
* Converts any `AdSourceType` value into its json representation.
*/
fun AdSourceType.toJson(): String = when (this) {
AdSourceType.Bitmovin -> "bitmovin"
AdSourceType.Ima -> "ima"
AdSourceType.Unknown -> "unknown"
AdSourceType.Progressive -> "progressive"
Expand Down

0 comments on commit 56b9b82

Please sign in to comment.