Skip to content

Commit

Permalink
Merge pull request #231 from kevin-kp/chore/set-correct-software-version
Browse files Browse the repository at this point in the history
Mux: Set software version to the current THEOplayer version
  • Loading branch information
tvanlaerhoven authored Dec 19, 2024
2 parents fc8632f + 206d37b commit f95bbc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/two-ravens-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@theoplayer/react-native-analytics-mux': patch
---

Fixed an issue on iOS where an incorrect THEOplayer version would be passed.
2 changes: 1 addition & 1 deletion mux/ios/THEOplayerMuxRCTMuxAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class THEOplayerMuxRCTMuxAPI: NSObject, RCTBridgeModule {
let name = self.buildPlayerName(node)

// Start to monitor a given THEOplayer object.
MUXSDKStatsTHEOplayer.monitorTHEOplayer(player, name: name, customerData: customerData, softwareVersion: "1.0.0", automaticErrorTracking: true)
MUXSDKStatsTHEOplayer.monitorTHEOplayer(player, name: name, customerData: customerData, softwareVersion: THEOplayer.version, automaticErrorTracking: true)
self.connectors[node] = customerData

log("[Mux] added connector to view \(node)")
Expand Down

0 comments on commit f95bbc8

Please sign in to comment.