Skip to content

Commit ad62045

Browse files
authored
Merge pull request #665 from THEOplayer/release/v10.2.2
Release/v10.2.2
2 parents 442e660 + 7d38d24 commit ad62045

6 files changed

Lines changed: 16 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ 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.2.2] - 25-10-23
9+
10+
- Fixed a build issue on iOS/tvOS due to a breaking change on the THEOplayerSDK.Ad protocol in iOS SDK 10.3.0 .
11+
812
## [10.2.1] - 25-10-21
913

1014
- Fixed an issue on web where the `<THEOplayerView>` would be re-rendered non-stop.

example/package-lock.json

Lines changed: 4 additions & 4 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
@@ -15,7 +15,7 @@
1515
"pod-update": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod update"
1616
},
1717
"dependencies": {
18-
"@theoplayer/react-native-ui": "^0.20.0",
18+
"@theoplayer/react-native-ui": "^0.20.2",
1919
"react": "19.1.0",
2020
"react-dom": "19.1.0",
2121
"react-native": "npm:react-native-tvos@^0.81.0-0",

ios/ads/THEOplayerRCTAdsNative.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class NativeAd: THEOplayerSDK.Ad {
2020
var width: Int? = nil
2121
/** The height of the advertisement, in pixels.*/
2222
var height: Int? = nil
23+
/** Whether the ad is slate or not */
24+
var isSlate: Bool
2325
/** The kind of the ad integration.*/
2426
var integration: THEOplayerSDK.AdIntegrationKind
2527
/** The duration of the LinearAd, as provided by the VAST file, in seconds.*/
@@ -29,7 +31,7 @@ class NativeAd: THEOplayerSDK.Ad {
2931
/**The type of custom ad integration.*/
3032
var customIntegration: String? = nil
3133

32-
init(adBreak: AdBreak, companions: [THEOplayerSDK.CompanionAd], type: String, id: String? = nil, skipOffset: Int? = nil, resourceURI: String? = nil, width: Int? = nil, height: Int? = nil, integration: THEOplayerSDK.AdIntegrationKind, duration: Int? = 0, clickThrough: String?, customIntegration: String?) {
34+
init(adBreak: AdBreak, companions: [THEOplayerSDK.CompanionAd], type: String, id: String? = nil, skipOffset: Int? = nil, resourceURI: String? = nil, width: Int? = nil, height: Int? = nil, isSlate: Bool = false, integration: THEOplayerSDK.AdIntegrationKind, duration: Int? = 0, clickThrough: String?, customIntegration: String?) {
3335
self.adBreak = adBreak
3436
self.companions = companions
3537
self.type = type
@@ -38,6 +40,7 @@ class NativeAd: THEOplayerSDK.Ad {
3840
self.resourceURI = resourceURI
3941
self.width = width
4042
self.height = height
43+
self.isSlate = isSlate
4144
self.integration = integration
4245
self.duration = duration
4346
self.clickThrough = clickThrough

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-theoplayer",
3-
"version": "10.2.1",
3+
"version": "10.2.2",
44
"description": "A THEOplayer video component for react-native.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)