Skip to content

Commit ff11448

Browse files
Merge pull request #750 from THEOplayer/release/v10.10.0
Release/v10.10.0
2 parents 21d49f6 + b103445 commit ff11448

12 files changed

Lines changed: 71 additions & 58 deletions

File tree

.github/workflows/pr_android.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Android on PRs
22
on:
33
workflow_dispatch:
44
pull_request:
5-
types: [opened, reopened, synchronize]
5+
types: [opened, reopened, synchronize, ready_for_review]
66
paths:
77
- .github/workflows/pr_android.yml
88
- example/**
@@ -13,6 +13,7 @@ on:
1313

1414
jobs:
1515
build:
16+
if: github.event.pull_request.draft == false
1617
runs-on: ubuntu-latest
1718
strategy:
1819
matrix:

.github/workflows/pr_ios.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build iOS on PRs
22
on:
33
workflow_dispatch:
44
pull_request:
5-
types: [opened, reopened, synchronize]
5+
types: [opened, reopened, synchronize, ready_for_review]
66
paths:
77
- .github/workflows/pr_ios.yml
88
- example/**
@@ -13,10 +13,12 @@ on:
1313

1414
jobs:
1515
build:
16-
runs-on: macos-14
16+
if: github.event.pull_request.draft == false
17+
runs-on: macos-15
1718
strategy:
19+
fail-fast: false
1820
matrix:
19-
xcode_version: [ '16.1.0' ]
21+
xcode_version: [ '26.2.0' ]
2022
platform: [iOS, tvOS]
2123
name: Build for ${{ matrix.platform }} using XCode version ${{ matrix.xcode_version }}
2224

@@ -74,9 +76,9 @@ jobs:
7476
- name: Start iOS simulator
7577
uses: futureware-tech/simulator-action@v4
7678
with:
77-
model: ${{ matrix.platform == 'iOS' && 'iPhone 15' || 'Apple TV' }}
79+
model: ${{ matrix.platform == 'iOS' && 'iPhone 17' || 'Apple TV' }}
7880
os: ${{ matrix.platform }}
79-
os_version: '>=15.0'
81+
os_version: '>=26.2'
8082

8183
- name: Run e2e tests
8284
working-directory: e2e

.github/workflows/pr_web.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ name: Build Web on PRs
22
on:
33
workflow_dispatch:
44
pull_request:
5-
types: [opened, reopened, synchronize]
5+
types: [opened, reopened, synchronize, ready_for_review]
66

77
jobs:
88
build:
9+
if: github.event.pull_request.draft == false
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Checkout

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [10.10.0] - 26-02-17
9+
10+
### Fixed
11+
12+
- Fixed an issue on iOS where the onPlayerStateSync callback was not called from the main thread.
13+
814
## [10.9.0] - 26-01-29
915

1016
### Fixed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ functionality. Currently, the following connectors are available:
143143
| Adobe Heartbeat analytics using the Media Collections API | [![%40theoplayer/react-native-analytics-adobe](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-analytics-adobe?label=%40theoplayer/react-native-analytics-adobe)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-analytics-adobe) | [`Adobe`](https://github.com/THEOplayer/react-native-connectors/tree/main/adobe) |
144144
| Adobe Media Edge analytics | [![%40theoplayer/react-native-analytics-adobe-edge](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-analytics-adobe-edge?label=%40theoplayer/react-native-analytics-adobe-edge)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-analytics-adobe) | [`Adobe Edge`](https://github.com/THEOplayer/react-native-connectors/tree/main/adobe-edge) |
145145
| Agama analytics | [![%40theoplayer/react-native-analytics-agama](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-analytics-agama?label=%40theoplayer/react-native-analytics-agama)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-analytics-agama) | [`Agama`](https://github.com/THEOplayer/react-native-connectors/tree/main/agama) |
146+
| Bitmovin analytics | [![%40theoplayer/react-native-analytics-bitmovin](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-analytics-bitmovin?label=%40theoplayer/react-native-analytics-bitmovin)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-analytics-bitmovin) | [`Bitmovin`](https://github.com/THEOplayer/react-native-connectors/tree/main/bitmovin) |
146147
| Comscore analytics | [![%40theoplayer/react-native-analytics-comscore](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-analytics-comscore?label=%40theoplayer/react-native-analytics-comscore)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-analytics-comscore) | [`Comscore`](https://github.com/THEOplayer/react-native-connectors/tree/main/comscore) |
147148
| Conviva analytics | [![%40theoplayer/react-native-analytics-conviva](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-analytics-conviva?label=%40theoplayer/react-native-analytics-conviva)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-analytics-conviva) | [`Conviva`](https://github.com/THEOplayer/react-native-connectors/tree/main/conviva) |
148149
| Engage | [![%40theoplayer/react-native-engage](https://img.shields.io/npm/v/%40theoplayer%2Freact-native-engage?label=%40theoplayer/react-native-engage)](https://www.npmjs.com/package/%40theoplayer%2Freact-native-engage) | [`Engage`](https://github.com/THEOplayer/react-native-connectors/tree/main/engage) |

e2e/package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"npm-check-updates": "^17.1.13",
5151
"react-native-svg-web": "^1.0.9",
5252
"typescript": "5.8.3",
53-
"webpack": "^5.99.5",
53+
"webpack": "^5.105.0",
5454
"webpack-cli": "^6.0.1",
5555
"webpack-dev-server": "^5.2.1"
5656
},

example/package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"react-native-svg-web": "^1.0.9",
5050
"theoplayer": "^10",
5151
"typescript": "5.8.3",
52-
"webpack": "^5.99.5",
52+
"webpack": "^5.105.0",
5353
"webpack-cli": "^6.0.1",
5454
"webpack-dev-server": "^5.2.1"
5555
},

ios/THEOplayerRCTView.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,10 @@ public class THEOplayerRCTView: UIView {
296296
}
297297

298298
public func syncPlayerState() {
299-
if let forwardedPlayerStateSync = self.onNativePlayerStateSync {
300-
forwardedPlayerStateSync(["state": self.collectPlayerStatePayload()])
299+
DispatchQueue.main.async {
300+
if let forwardedPlayerStateSync = self.onNativePlayerStateSync {
301+
forwardedPlayerStateSync(["state": self.collectPlayerStatePayload()])
302+
}
301303
}
302304

303305
// trigger different feature managers to reflect the current state

0 commit comments

Comments
 (0)