bitmovin-player-react-native 0.17.0 → 0.18.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/README.md +1 -0
- package/RNBitmovinPlayer.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/gradle.properties +5 -4
- package/lib/index.d.mts +3 -3
- package/lib/index.d.ts +3 -3
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -48,6 +48,7 @@ Check out our [React Native Guides](https://developer.bitmovin.com/playback/docs
|
|
|
48
48
|
### Sample Application
|
|
49
49
|
|
|
50
50
|
In the [/example/](https://github.com/bitmovin/bitmovin-player-react-native/tree/development/example) folder you can find a sample application showcasing many of the features of the Player React Native SDK.
|
|
51
|
+
See the related [README.md](https://github.com/bitmovin/bitmovin-player-react-native/tree/development/example/README.md) for more information on how to get started with the sample application.
|
|
51
52
|
|
|
52
53
|
## Maintenance and Updates
|
|
53
54
|
|
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.56.3"
|
|
23
23
|
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.18.4"
|
|
24
24
|
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.8.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.61.0+jason'
|
|
107
107
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
android.useAndroidX=true
|
|
2
2
|
BitmovinPlayerReactNative_kotlinVersion=1.9.21
|
|
3
3
|
BitmovinPlayerReactNative_minSdkVersion=21
|
|
4
|
-
BitmovinPlayerReactNative_targetSdkVersion=
|
|
5
|
-
BitmovinPlayerReactNative_compileSdkVersion=
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
BitmovinPlayerReactNative_targetSdkVersion=34
|
|
5
|
+
BitmovinPlayerReactNative_compileSdkVersion=34
|
|
6
|
+
BitmovinPlayerReactNative_buildToolsVersion=34.0.0
|
|
7
|
+
BitmovinPlayerReactNative_ndkversion=25.1.8937393
|
|
8
|
+
BitmovinPlayerReactNative_androidToolsVersion=8.1.0
|
|
8
9
|
BitmovinPlayerReactNative_ktlintVersion=11.6.0
|
package/lib/index.d.mts
CHANGED
|
@@ -411,7 +411,7 @@ declare class AnalyticsApi {
|
|
|
411
411
|
* @platform iOS
|
|
412
412
|
* @see https://developer.apple.com/documentation/avfaudio/avaudiosession/category
|
|
413
413
|
*/
|
|
414
|
-
|
|
414
|
+
type AudioSessionCategory = 'ambient' | 'multiRoute' | 'playAndRecord' | 'playback' | 'record' | 'soloAmbient';
|
|
415
415
|
/**
|
|
416
416
|
* An object that communicates to the system how you intend to use audio in your app.
|
|
417
417
|
*
|
|
@@ -2099,7 +2099,7 @@ interface EventProps {
|
|
|
2099
2099
|
* Note the events of `PlayerView` are simply a proxy over
|
|
2100
2100
|
* the events from `NativePlayerView` just removing RN's bubbling data.
|
|
2101
2101
|
*/
|
|
2102
|
-
|
|
2102
|
+
type PlayerViewEvents = {
|
|
2103
2103
|
[Prop in keyof EventProps]?: (event: EventProps[Prop]) => void;
|
|
2104
2104
|
};
|
|
2105
2105
|
|
|
@@ -2317,7 +2317,7 @@ interface OnCanceledEvent extends OfflineEvent<OfflineEventType.onCanceled> {
|
|
|
2317
2317
|
* The type aggregation for all possible native offline events received from the `DeviceEventEmitter`
|
|
2318
2318
|
* @platform Android, iOS
|
|
2319
2319
|
*/
|
|
2320
|
-
|
|
2320
|
+
type BitmovinNativeOfflineEventData = OnCompletedEvent | OnOptionsAvailableEvent | OnProgressEvent | OnErrorEvent | OnDrmLicenseUpdatedEvent | OnDrmLicenseExpiredEvent | OnSuspendedEvent | OnResumedEvent | OnCanceledEvent;
|
|
2321
2321
|
/**
|
|
2322
2322
|
* The listener that can be passed to the `OfflineContentManager` to receive callbacks for different events.
|
|
2323
2323
|
* @platform Android, iOS
|
package/lib/index.d.ts
CHANGED
|
@@ -411,7 +411,7 @@ declare class AnalyticsApi {
|
|
|
411
411
|
* @platform iOS
|
|
412
412
|
* @see https://developer.apple.com/documentation/avfaudio/avaudiosession/category
|
|
413
413
|
*/
|
|
414
|
-
|
|
414
|
+
type AudioSessionCategory = 'ambient' | 'multiRoute' | 'playAndRecord' | 'playback' | 'record' | 'soloAmbient';
|
|
415
415
|
/**
|
|
416
416
|
* An object that communicates to the system how you intend to use audio in your app.
|
|
417
417
|
*
|
|
@@ -2099,7 +2099,7 @@ interface EventProps {
|
|
|
2099
2099
|
* Note the events of `PlayerView` are simply a proxy over
|
|
2100
2100
|
* the events from `NativePlayerView` just removing RN's bubbling data.
|
|
2101
2101
|
*/
|
|
2102
|
-
|
|
2102
|
+
type PlayerViewEvents = {
|
|
2103
2103
|
[Prop in keyof EventProps]?: (event: EventProps[Prop]) => void;
|
|
2104
2104
|
};
|
|
2105
2105
|
|
|
@@ -2317,7 +2317,7 @@ interface OnCanceledEvent extends OfflineEvent<OfflineEventType.onCanceled> {
|
|
|
2317
2317
|
* The type aggregation for all possible native offline events received from the `DeviceEventEmitter`
|
|
2318
2318
|
* @platform Android, iOS
|
|
2319
2319
|
*/
|
|
2320
|
-
|
|
2320
|
+
type BitmovinNativeOfflineEventData = OnCompletedEvent | OnOptionsAvailableEvent | OnProgressEvent | OnErrorEvent | OnDrmLicenseUpdatedEvent | OnDrmLicenseExpiredEvent | OnSuspendedEvent | OnResumedEvent | OnCanceledEvent;
|
|
2321
2321
|
/**
|
|
2322
2322
|
* The listener that can be passed to the `OfflineContentManager` to receive callbacks for different events.
|
|
2323
2323
|
* @platform Android, iOS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bitmovin-player-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Official React Native bindings for Bitmovin's mobile Player SDKs.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
@@ -61,27 +61,26 @@
|
|
|
61
61
|
"@babel/runtime": "7.22.10",
|
|
62
62
|
"@commitlint/config-conventional": "17.7.0",
|
|
63
63
|
"@react-native-community/eslint-config": "3.1.0",
|
|
64
|
+
"@react-native/babel-preset": "0.73.18",
|
|
64
65
|
"@types/jest": "^28.1.2",
|
|
65
66
|
"@types/lodash.omit": "4.5.0",
|
|
66
|
-
"@types/react": "~
|
|
67
|
-
"@types/react-native": "0.70.0",
|
|
67
|
+
"@types/react": "~18.2.26",
|
|
68
68
|
"babel-plugin-module-resolver": "5.0.0",
|
|
69
69
|
"commitlint": "17.7.1",
|
|
70
70
|
"eslint": "8.24.0",
|
|
71
71
|
"eslint-config-prettier": "8.5.0",
|
|
72
72
|
"eslint-plugin-prettier": "4.2.1",
|
|
73
73
|
"husky": "8.0.1",
|
|
74
|
-
"jest": "^
|
|
74
|
+
"jest": "^29.6.3",
|
|
75
75
|
"lint-staged": "13.0.3",
|
|
76
|
-
"metro-config": "0.
|
|
77
|
-
"metro-react-native-babel-preset": "0.72.3",
|
|
76
|
+
"metro-config": "0.73.4",
|
|
78
77
|
"postinstall-postinstall": "^2.1.0",
|
|
79
78
|
"prettier": "2.7.1",
|
|
80
79
|
"react": "18.2.0",
|
|
81
|
-
"react-native": "0.
|
|
80
|
+
"react-native": "0.73.4",
|
|
82
81
|
"tsup": "7.2.0",
|
|
83
82
|
"typedoc": "^0.25.2",
|
|
84
|
-
"typescript": "
|
|
83
|
+
"typescript": "5.0.2"
|
|
85
84
|
},
|
|
86
85
|
"resolutions": {
|
|
87
86
|
"@types/react": "17.0.21"
|