Skip to content

Commit

Permalink
Merge pull request #232 from kevin-kp/chore/update-versions
Browse files Browse the repository at this point in the history
Update mux and theoplayer versions
  • Loading branch information
tvanlaerhoven authored Dec 19, 2024
2 parents 6d903bb + f37dd49 commit ed21f15
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-chairs-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@theoplayer/react-native-analytics-mux': minor
---

Updated the mux connector on Android to be compatible with THEOplayer v8 versions.
6 changes: 4 additions & 2 deletions mux/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ repositories {
// The Mux connector requires at least THEOplayer SDK v5.11.0.
def theoplayer_sdk_version = safeExtGet('THEOplayer_sdk', '[5.11.0, 8.0.0)')
def kotlin_version = safeExtGet("THEOplayerMux_kotlinVersion", "1.9.10")
def mux_version = safeExtGet('THEOplayerMux_muxVersion', '0.2.+')
def mux_version = safeExtGet('THEOplayerMux_muxVersion', '0.4.+')
def mux_core_version = safeExtGet('Mux_muxVersion', '1.2.0')

dependencies {
// For < 0.71, this will be from the local maven repo
Expand All @@ -83,7 +84,8 @@ dependencies {
implementation "com.facebook.react:react-native"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

implementation "com.mux.stats.sdk.muxstats:muxstatssdktheoplayer_v5:$mux_version"
implementation "com.mux.stats.sdk.muxstats:android:$mux_core_version"
implementation "com.mux.stats.sdk.muxstats:muxstatssdktheoplayer_v7:$mux_version"
implementation "com.theoplayer.theoplayer-sdk-android:core:$theoplayer_sdk_version"
implementation "com.theoplayer.theoplayer-sdk-android:integration-ads-ima:$theoplayer_sdk_version"
implementation project(':react-native-theoplayer')
Expand Down
4 changes: 2 additions & 2 deletions mux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-theoplayer": "^3.0.0 || ^7.0.0",
"theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0"
"react-native-theoplayer": "^3.0.0 || ^7.0.0 || ^8.0.0",
"theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"theoplayer": {
Expand Down

0 comments on commit ed21f15

Please sign in to comment.