Skip to content

Commit

Permalink
Merge pull request #499 from bitmovin/release/v0.28.0
Browse files Browse the repository at this point in the history
Release 0.28.0
  • Loading branch information
rolandkakonyi authored Aug 7, 2024
2 parents 42390cf + d408385 commit 35519cc
Show file tree
Hide file tree
Showing 17 changed files with 151 additions and 59 deletions.
18 changes: 1 addition & 17 deletions .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ inputs:
description: Setup xcode and install dependencies (overrides `brew` input)
default: false
required: false
restore-pods:
description: Restores the Pod cache
default: false
required: false
java:
description: Setup Java and Gradle cache
default: false
Expand Down Expand Up @@ -69,21 +65,9 @@ runs:
- uses: maxim-lobanov/setup-xcode@v1
if: ${{ inputs.ios == 'true' }}
with:
xcode-version: '14.3'
xcode-version: '15.4'

- name: Install dependencies
if: ${{ inputs.ios == 'true' || inputs.brew == 'true' }}
shell: bash
run: brew bundle install

- name: Restore Pods cache
if: ${{ inputs.restore-pods == 'true' }}
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
integration_test/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-
2 changes: 2 additions & 0 deletions .github/workflows/ci-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- '.github/workflows/ci-android.yml'
- '.github/actions/**'
- 'package.json'
- 'yarn.lock'
- 'android/**'
Expand All @@ -15,6 +16,7 @@ on:
branches: [development]
paths:
- '.github/workflows/ci-android.yml'
- '.github/actions/**'
- 'package.json'
- 'yarn.lock'
- 'android/**'
Expand Down
24 changes: 22 additions & 2 deletions .github/workflows/ci-ios-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- '.github/workflows/ci-ios-tvos.yml'
- '.github/actions/**'
- 'package.json'
- 'yarn.lock'
- 'ios/**'
Expand All @@ -18,6 +19,7 @@ on:
branches: [development]
paths:
- '.github/workflows/ci-ios-tvos.yml'
- '.github/actions/**'
- 'package.json'
- 'yarn.lock'
- 'ios/**'
Expand Down Expand Up @@ -64,7 +66,16 @@ jobs:
node: true
subprojects: true
ios: true
restore-pods: true

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}
restore-keys: pods-

- name: Install pods
run: |
Expand Down Expand Up @@ -108,7 +119,16 @@ jobs:
node: true
subprojects: true
ios: true
restore-pods: true

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-

- name: Install pods
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- '.github/workflows/ci-typescript.yml'
- '.github/actions/**'
- '**.ts'
- '**.tsx'
- '**.js'
Expand All @@ -24,6 +25,7 @@ on:
branches: [development]
paths:
- '.github/workflows/ci-typescript.yml'
- '.github/actions/**'
- '**.ts'
- '**.tsx'
- '**.js'
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/create-sdk-update-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,18 @@ jobs:
uses: ./.github/actions/setup-environment
with:
node: true
restore-pods: true
brew: true

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-

- name: Bump iOS player SDK version
if: ${{ inputs.sdk_name == 'ios' }}
run: |
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/start-release-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@ jobs:
uses: ./.github/actions/setup-environment
with:
node: true
restore-pods: true

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-

- name: Set Release Branch name
id: branching
Expand Down
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
brew "swiftlint"
brew "xcbeautify"
74 changes: 58 additions & 16 deletions Brewfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,79 @@
"entries": {
"brew": {
"swiftlint": {
"version": "0.53.0",
"version": "0.55.1",
"bottle": {
"rebuild": 0,
"rebuild": 1,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_sonoma": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:240ccda9de55d948d0c635798079074099bfcb73ffda41428900fdc748aeea7b",
"sha256": "240ccda9de55d948d0c635798079074099bfcb73ffda41428900fdc748aeea7b"
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:0610290fef665ecfc022ec3e8e3986224841290274a21efdee503e76b7b39bcc",
"sha256": "0610290fef665ecfc022ec3e8e3986224841290274a21efdee503e76b7b39bcc"
},
"arm64_ventura": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:7b7ceb7896c6833965cc4eac9001255d8adde6c5432045d5a8ab6aea8a9e81d9",
"sha256": "7b7ceb7896c6833965cc4eac9001255d8adde6c5432045d5a8ab6aea8a9e81d9"
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:af05ed001b0476ed0391778516ed92cc3ed100593a03794025c1814e6dec0cb4",
"sha256": "af05ed001b0476ed0391778516ed92cc3ed100593a03794025c1814e6dec0cb4"
},
"arm64_monterey": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:78c2a4c3f4a2f6847b484527b0f0f916da71e3ee29e49890fd44b63fe7b38e26",
"sha256": "78c2a4c3f4a2f6847b484527b0f0f916da71e3ee29e49890fd44b63fe7b38e26"
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:2e1313a57188d5a751f038596509f0186a058669abfd21aa3142457f9c16c478",
"sha256": "2e1313a57188d5a751f038596509f0186a058669abfd21aa3142457f9c16c478"
},
"sonoma": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:abdca78dd8a8bd268053b3be195fe891bb74aef5502ab3a6b871ae0c6bb04540",
"sha256": "abdca78dd8a8bd268053b3be195fe891bb74aef5502ab3a6b871ae0c6bb04540"
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:148e407d81cedffbe76876288f78a35fee69f82d12b2fb3356ca102c2fd6d319",
"sha256": "148e407d81cedffbe76876288f78a35fee69f82d12b2fb3356ca102c2fd6d319"
},
"ventura": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:be711c707bf3b49fa0dd6e2ae576b309aad620f9b56a2c6e7b1ac5cf35cf652a",
"sha256": "be711c707bf3b49fa0dd6e2ae576b309aad620f9b56a2c6e7b1ac5cf35cf652a"
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:709d73d12dd3adf64e276b04e94949749b5073f7ca946e0ead585557cfe9277c",
"sha256": "709d73d12dd3adf64e276b04e94949749b5073f7ca946e0ead585557cfe9277c"
},
"monterey": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:13487d68a971dbe035019364e19d70641af2a18c06e52925d238685b384a7979",
"sha256": "13487d68a971dbe035019364e19d70641af2a18c06e52925d238685b384a7979"
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:30ea7b1e56634ccd521ffe86a93372e02004cf25b0a10432a5b54520a71d4139",
"sha256": "30ea7b1e56634ccd521ffe86a93372e02004cf25b0a10432a5b54520a71d4139"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:0f68576b2b4591e126e923278c4aa25c28aa18b7e5a9f8a3b8d7cf8eeacfe3a2",
"sha256": "0f68576b2b4591e126e923278c4aa25c28aa18b7e5a9f8a3b8d7cf8eeacfe3a2"
}
}
}
},
"xcbeautify": {
"version": "2.4.0",
"bottle": {
"rebuild": 0,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_sonoma": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:6a51e17f553aa9d493bf806489fa506c178fed38b18b45a94cd6cbb8a50ed042",
"sha256": "6a51e17f553aa9d493bf806489fa506c178fed38b18b45a94cd6cbb8a50ed042"
},
"arm64_ventura": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:9717191935a921a937474cc785728238efe4cbea9d590d97927f4f9c990d5e6b",
"sha256": "9717191935a921a937474cc785728238efe4cbea9d590d97927f4f9c990d5e6b"
},
"sonoma": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:61a163991b33aa679931917fb1952aa9d6c3b3bf57c5637c24be89da513cb49f",
"sha256": "61a163991b33aa679931917fb1952aa9d6c3b3bf57c5637c24be89da513cb49f"
},
"ventura": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:08bdbf866a823ba2d27db510eaaf191d0c2a87a69687b86c5efa96e546f43d51",
"sha256": "08bdbf866a823ba2d27db510eaaf191d0c2a87a69687b86c5efa96e546f43d51"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:fbbc56fccfcfcd34564feb7325567e2ff3638d3c609396a5c4aa13311c7b26e0",
"sha256": "fbbc56fccfcfcd34564feb7325567e2ff3638d3c609396a5c4aa13311c7b26e0"
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:a157d806c66671dec34bd0dc3dd7ae5fe193e59a527579db79ba7d3fe1824770",
"sha256": "a157d806c66671dec34bd0dc3dd7ae5fe193e59a527579db79ba7d3fe1824770"
}
}
}
Expand All @@ -56,6 +90,14 @@
"CLT": "",
"Xcode": "15.0.1",
"macOS": "14.0"
},
"sequoia": {
"HOMEBREW_VERSION": "4.3.8",
"HOMEBREW_PREFIX": "/opt/homebrew",
"Homebrew/homebrew-core": "api",
"CLT": "16.0.0.0.1.1719078471",
"Xcode": "16.0",
"macOS": "15.0"
}
}
}
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.28.0]

### Added

- Android: `AdItem.preloadOffset` to control when ad manifest gets loaded

### Changed

- Update Bitmovin's native Android SDK version to `3.78.0`
- Update Bitmovin's native iOS SDK version to `3.67.0`

## [0.27.1] - 2024-07-05

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion RNBitmovinPlayer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm,swift}"

s.swift_version = "5.10"
s.dependency "React-Core"
s.dependency "BitmovinPlayer", "3.66.1"
s.dependency "BitmovinPlayer", "3.67.0"
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.23.0"
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.13.0"
end
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,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.74.0+jason'
implementation 'com.bitmovin.player:player:3.78.0+jason'
}
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ fun ReadableMap.toAdItem(): AdItem? {
return AdItem(
sources = getArray("sources") ?.toMapList()?.mapNotNull { it?.toAdSource() }?.toTypedArray() ?: return null,
position = getString("position") ?: "pre",
preloadOffset = getDoubleOrNull("preloadOffset") ?: 0.0,
)
}

Expand Down
16 changes: 8 additions & 8 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ PODS:
- BitmovinAnalyticsCollector/Core
- BitmovinPlayerCore (~> 3.48)
- BitmovinAnalyticsCollector/Core (3.7.0)
- BitmovinPlayer (3.66.1):
- BitmovinPlayer (3.67.0):
- BitmovinAnalyticsCollector/BitmovinPlayer (~> 3.0)
- BitmovinPlayerCore (= 3.66.1)
- BitmovinPlayerCore (3.66.1)
- BitmovinPlayerCore (= 3.67.0)
- BitmovinPlayerCore (3.67.0)
- boost (1.83.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.73.4-0)
Expand Down Expand Up @@ -1048,8 +1048,8 @@ PODS:
- React-jsi (= 0.73.4-0)
- React-logger (= 0.73.4-0)
- React-perflogger (= 0.73.4-0)
- RNBitmovinPlayer (0.27.1):
- BitmovinPlayer (= 3.66.1)
- RNBitmovinPlayer (0.28.0):
- BitmovinPlayer (= 3.67.0)
- GoogleAds-IMA-iOS-SDK (= 3.23.0)
- GoogleAds-IMA-tvOS-SDK (= 4.13.0)
- React-Core
Expand Down Expand Up @@ -1246,8 +1246,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
BitmovinAnalyticsCollector: bbd82c0b8e11aefacd8e53b6e40c62f2cba6f3f5
BitmovinPlayer: 0d5990c196eff314b7081c49ed481e9d465d7281
BitmovinPlayerCore: f6f8b8655bece7c8e9daccc49cc55642212d9c2f
BitmovinPlayer: 48ee17de9e0bbd310d874112bab92cb78f5e1cbf
BitmovinPlayerCore: da464f49a91a1308519a7187088822e33f1d057b
boost: 88202336c3ba1e7a264a83c0c888784b0f360c28
DoubleConversion: 74cb0ce4de271b23e772567504735c87134edf0a
FBLazyVector: 33a271a7e8de0bd321e47356d8bc3b2d5fb9ddba
Expand Down Expand Up @@ -1302,7 +1302,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: 20b2202e3396589a71069d12ae9f328949c7c7b8
React-utils: 0307d396f233e47a167b5aaf045b0e4e1dc19d74
ReactCommon: 17891ca337bfa5a7263649b09f27a8c664537bf2
RNBitmovinPlayer: 57b3b5672e59031080ce43928f3c1f2275eaec00
RNBitmovinPlayer: ae4f785479c566a71bf03d84bde7ec139eb22eaa
RNCPicker: b18aaf30df596e9b1738e7c1f9ee55402a229dca
RNScreens: b582cb834dc4133307562e930e8fa914b8c04ef2
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Expand Down
Loading

0 comments on commit 35519cc

Please sign in to comment.