Skip to content

Commit

Permalink
Switched from bundleDisplayName to bundleName for higher compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
brototyp committed Oct 4, 2020
1 parent c7121d3 commit 9e02982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatomoTracker/UserAgent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ struct UserAgent {
let device: Device

var stringValue: String {
"\(application.bundleDisplayName ?? "Unknown-App")/\(application.bundleShortVersion ?? "Unknown-Version") \(device.platform) \(device.operatingSystem)/\(device.osVersion) MatomoTrackerIOSSDK/\(application.matomoSDKVersion ?? "Unknown-Version") Darwin/\(device.darwinVersion ?? "Unknown-Version")"
"\(application.bundleName ?? "Unknown-App")/\(application.bundleShortVersion ?? "Unknown-Version") \(device.platform) \(device.operatingSystem)/\(device.osVersion) MatomoTrackerIOSSDK/\(application.matomoSDKVersion ?? "Unknown-Version") Darwin/\(device.darwinVersion ?? "Unknown-Version")"
}
}

0 comments on commit 9e02982

Please sign in to comment.