How can I specify a custom Bitmovin Analytics Collector version?
Learn how to specify a custom Bitmovin Analytics Collector version in your Bitmovin iOS Player.
Starting from version 3.42.0, the Bitmovin iOS Player depends on the Bitmovin Analytics Collector Major Version 3.0.0.
This integration guarantees that you always have the most up-to-date version of the Analytics Collector, which we carefully ensure to be fully compatible with the iOS Player.
In the event that you have a specific requirement to use a custom version of the collector, you can enforce the desired version by changing this line (replacing x.x.x
with the desired version) in your Package.swift
file:
let package = Package(
...
dependencies: [
...
.package(url: "https://github.com/bitmovin/bitmovin-analytics-collector-ios.git", exact: "x.x.x"),
],
....
)
If you are using Cocoapod, you can just add the following line to your Podfile
instead:
pod 'BitmovinAnalyticsCollector/BitmovinPlayer', 'x.x.x'
By applying these changes, you can specify the exact version of the collector you wish to use within your project. However, please note that using custom versions is generally discouraged, as it may lead to compatibility issues or the exclusion of important updates and enhancements.
Cautionary Note
Kindly note that employing this approach may also introduce a possibility of encountering runtime exceptions if the forced version of the collector and the Player dependency version are incompatible.
We highly recommend refraining from explicitly depending on the Bitmovin Analytics Collector and instead utilizing the provided dependency.
Updated about 7 hours ago