bitmovin-player-react-native 0.22.0 → 0.23.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
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.
|
|
22
|
+
s.dependency "BitmovinPlayer", "3.62.0"
|
|
23
23
|
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.19.1"
|
|
24
24
|
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.9.2"
|
|
25
25
|
end
|
package/android/build.gradle
CHANGED
|
@@ -103,5 +103,5 @@ dependencies {
|
|
|
103
103
|
// Bitmovin
|
|
104
104
|
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.31.0'
|
|
105
105
|
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
|
|
106
|
-
implementation 'com.bitmovin.player:player:3.
|
|
106
|
+
implementation 'com.bitmovin.player:player:3.68.0+jason'
|
|
107
107
|
}
|
package/android/src/main/java/com/bitmovin/player/reactnative/ui/CustomMessageHandlerModule.kt
CHANGED
|
@@ -62,12 +62,12 @@ class CustomMessageHandlerModule(private val context: ReactApplicationContext) :
|
|
|
62
62
|
val args = Arguments.createArray()
|
|
63
63
|
args.pushString(message)
|
|
64
64
|
args.pushString(data)
|
|
65
|
-
context.catalystInstance.callFunction(
|
|
66
|
-
"CustomMessageBridge-$nativeId",
|
|
67
|
-
"receivedSynchronousMessage",
|
|
68
|
-
args as NativeArray,
|
|
69
|
-
)
|
|
70
65
|
lock.withLock {
|
|
66
|
+
context.catalystInstance.callFunction(
|
|
67
|
+
"CustomMessageBridge-$nativeId",
|
|
68
|
+
"receivedSynchronousMessage",
|
|
69
|
+
args as NativeArray,
|
|
70
|
+
)
|
|
71
71
|
customMessageHandlerResultChangedCondition.await()
|
|
72
72
|
}
|
|
73
73
|
return customMessageHandler[nativeId]?.popSynchronousResult()
|