|
|
@@ -22,6 +22,7 @@ final class TelemetryClient: Injectable {
|
|
|
private static let productionBaseURL: URL? = URL(string: "https://telemetry.triodocs.org")
|
|
|
|
|
|
// MARK: if you fork Trio and keep telemetry enabled, please change the name here
|
|
|
+
|
|
|
// so that we can distinguish forks from mainline Trio builds in our telemetry.
|
|
|
private static let telemetryAppName: String = "Trio"
|
|
|
|
|
|
@@ -193,7 +194,7 @@ final class TelemetryClient: Injectable {
|
|
|
var payload: [String: Any] = [:]
|
|
|
|
|
|
if let v = info["CFBundleShortVersionString"] as? String { payload["appVersion"] = v }
|
|
|
- payload["appName"] = telemetryAppName
|
|
|
+ payload["appName"] = TelemetryClient.telemetryAppName
|
|
|
// appDevVersion is Trio's 4-component dev counter (e.g. "0.7.0.14") —
|
|
|
// the most precise build identifier we have. Always emit, even when
|
|
|
// the Info.plist key is missing, so dashboards can rely on the field.
|