diff --git a/.changeset/two-ravens-invite.md b/.changeset/two-ravens-invite.md new file mode 100644 index 00000000..c8126bbd --- /dev/null +++ b/.changeset/two-ravens-invite.md @@ -0,0 +1,5 @@ +--- +'@theoplayer/react-native-analytics-mux': patch +--- + +Fixed an issue on iOS where an incorrect THEOplayer version would be passed. diff --git a/mux/ios/THEOplayerMuxRCTMuxAPI.swift b/mux/ios/THEOplayerMuxRCTMuxAPI.swift index 36db0cc0..013c6af9 100644 --- a/mux/ios/THEOplayerMuxRCTMuxAPI.swift +++ b/mux/ios/THEOplayerMuxRCTMuxAPI.swift @@ -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)")