react-native-theoplayer 10.2.1 → 10.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
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
+
8
12
  ## [10.2.1] - 25-10-21
9
13
 
10
14
  - Fixed an issue on web where the `<THEOplayerView>` would be re-rendered non-stop.
@@ -20,6 +20,8 @@ class NativeAd: THEOplayerSDK.Ad {
20
20
  var width: Int? = nil
21
21
  /** The height of the advertisement, in pixels.*/
22
22
  var height: Int? = nil
23
+ /** Whether the ad is slate or not */
24
+ var isSlate: Bool
23
25
  /** The kind of the ad integration.*/
24
26
  var integration: THEOplayerSDK.AdIntegrationKind
25
27
  /** The duration of the LinearAd, as provided by the VAST file, in seconds.*/
@@ -29,7 +31,7 @@ class NativeAd: THEOplayerSDK.Ad {
29
31
  /**The type of custom ad integration.*/
30
32
  var customIntegration: String? = nil
31
33
 
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?) {
33
35
  self.adBreak = adBreak
34
36
  self.companions = companions
35
37
  self.type = type
@@ -38,6 +40,7 @@ class NativeAd: THEOplayerSDK.Ad {
38
40
  self.resourceURI = resourceURI
39
41
  self.width = width
40
42
  self.height = height
43
+ self.isSlate = isSlate
41
44
  self.integration = integration
42
45
  self.duration = duration
43
46
  self.clickThrough = clickThrough
@@ -1 +1 @@
1
- {"version":"10.2.1","buildDate":"2025-10-21T13:02:05.227Z"}
1
+ {"version":"10.2.2","buildDate":"2025-10-23T08:40:43.296Z"}
@@ -1 +1 @@
1
- {"version":"10.2.1","buildDate":"2025-10-21T13:02:05.227Z"}
1
+ {"version":"10.2.2","buildDate":"2025-10-23T08:40:43.296Z"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-theoplayer",
3
- "version": "10.2.1",
3
+ "version": "10.2.2",
4
4
  "description": "A THEOplayer video component for react-native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/manifest.json CHANGED
@@ -1 +1 @@
1
- {"version":"10.2.1","buildDate":"2025-10-21T13:02:05.227Z"}
1
+ {"version":"10.2.2","buildDate":"2025-10-23T08:40:43.296Z"}