bitmovin-player-react-native 0.21.0 → 0.22.0
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/RNBitmovinPlayer.podspec +3 -3
- package/ios/RCTConvert+BitmovinPlayer.swift +5 -0
- package/lib/index.d.mts +12 -0
- package/lib/index.d.ts +12 -0
- package/package.json +1 -1
- package/src/tweaksConfig.ts +12 -0
package/RNBitmovinPlayer.podspec
CHANGED
|
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
20
20
|
|
|
21
21
|
s.dependency "React-Core"
|
|
22
|
-
s.dependency "BitmovinPlayer", "3.
|
|
23
|
-
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.
|
|
24
|
-
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.
|
|
22
|
+
s.dependency "BitmovinPlayer", "3.60.0"
|
|
23
|
+
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.19.1"
|
|
24
|
+
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.9.2"
|
|
25
25
|
end
|
|
@@ -159,6 +159,11 @@ extension RCTConvert {
|
|
|
159
159
|
break
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
+
#if !os(tvOS)
|
|
163
|
+
if let updatesNowPlayingInfoCenter = json["updatesNowPlayingInfoCenter"] as? Bool {
|
|
164
|
+
tweaksConfig.updatesNowPlayingInfoCenter = updatesNowPlayingInfoCenter
|
|
165
|
+
}
|
|
166
|
+
#endif
|
|
162
167
|
return tweaksConfig
|
|
163
168
|
}
|
|
164
169
|
|
package/lib/index.d.mts
CHANGED
|
@@ -2786,6 +2786,18 @@ interface TweaksConfig {
|
|
|
2786
2786
|
* @platform Android
|
|
2787
2787
|
*/
|
|
2788
2788
|
preferSoftwareDecodingForAds?: boolean;
|
|
2789
|
+
/**
|
|
2790
|
+
* Determines whether `AVKit` should update Now Playing information automatically when using System UI.
|
|
2791
|
+
*
|
|
2792
|
+
* - If set to `false`, the automatic updates of Now Playing Info sent by `AVKit` are disabled.
|
|
2793
|
+
* This prevents interference with manual updates you may want to perform.
|
|
2794
|
+
* - If set to `true`, the default behaviour is maintained, allowing `AVKit` to handle Now Playing updates.
|
|
2795
|
+
*
|
|
2796
|
+
* Default is `true`.
|
|
2797
|
+
*
|
|
2798
|
+
* @platform iOS
|
|
2799
|
+
*/
|
|
2800
|
+
updatesNowPlayingInfoCenter?: boolean;
|
|
2789
2801
|
}
|
|
2790
2802
|
|
|
2791
2803
|
/**
|
package/lib/index.d.ts
CHANGED
|
@@ -2786,6 +2786,18 @@ interface TweaksConfig {
|
|
|
2786
2786
|
* @platform Android
|
|
2787
2787
|
*/
|
|
2788
2788
|
preferSoftwareDecodingForAds?: boolean;
|
|
2789
|
+
/**
|
|
2790
|
+
* Determines whether `AVKit` should update Now Playing information automatically when using System UI.
|
|
2791
|
+
*
|
|
2792
|
+
* - If set to `false`, the automatic updates of Now Playing Info sent by `AVKit` are disabled.
|
|
2793
|
+
* This prevents interference with manual updates you may want to perform.
|
|
2794
|
+
* - If set to `true`, the default behaviour is maintained, allowing `AVKit` to handle Now Playing updates.
|
|
2795
|
+
*
|
|
2796
|
+
* Default is `true`.
|
|
2797
|
+
*
|
|
2798
|
+
* @platform iOS
|
|
2799
|
+
*/
|
|
2800
|
+
updatesNowPlayingInfoCenter?: boolean;
|
|
2789
2801
|
}
|
|
2790
2802
|
|
|
2791
2803
|
/**
|
package/package.json
CHANGED
package/src/tweaksConfig.ts
CHANGED
|
@@ -157,4 +157,16 @@ export interface TweaksConfig {
|
|
|
157
157
|
* @platform Android
|
|
158
158
|
*/
|
|
159
159
|
preferSoftwareDecodingForAds?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Determines whether `AVKit` should update Now Playing information automatically when using System UI.
|
|
162
|
+
*
|
|
163
|
+
* - If set to `false`, the automatic updates of Now Playing Info sent by `AVKit` are disabled.
|
|
164
|
+
* This prevents interference with manual updates you may want to perform.
|
|
165
|
+
* - If set to `true`, the default behaviour is maintained, allowing `AVKit` to handle Now Playing updates.
|
|
166
|
+
*
|
|
167
|
+
* Default is `true`.
|
|
168
|
+
*
|
|
169
|
+
* @platform iOS
|
|
170
|
+
*/
|
|
171
|
+
updatesNowPlayingInfoCenter?: boolean;
|
|
160
172
|
}
|