Skip to content

Commit

Permalink
fix: add 'CFBundleName' to app context (#252)
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Charles <[email protected]>
  • Loading branch information
alanjcharles and alanjcharles authored Sep 7, 2023
1 parent add12fc commit 6838302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Segment/Plugins/Context.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class Context: PlatformPlugin {
}
if app.count != 0 {
staticContext["app"] = [
"name": app["CFBundleDisplayName"] ?? "",
"name": app["CFBundleDisplayName"] ?? app["CFBundleName"] ?? "" ,
"version": app["CFBundleShortVersionString"] ?? "",
"build": app["CFBundleVersion"] ?? "",
"namespace": Bundle.main.bundleIdentifier ?? ""
Expand Down

0 comments on commit 6838302

Please sign in to comment.