Skip to content

Commit 6838302

Browse files
authored
fix: add 'CFBundleName' to app context (#252)
Co-authored-by: Alan Charles <acharles@twilio.com>
1 parent add12fc commit 6838302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Segment/Plugins/Context.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public class Context: PlatformPlugin {
7373
}
7474
if app.count != 0 {
7575
staticContext["app"] = [
76-
"name": app["CFBundleDisplayName"] ?? "",
76+
"name": app["CFBundleDisplayName"] ?? app["CFBundleName"] ?? "" ,
7777
"version": app["CFBundleShortVersionString"] ?? "",
7878
"build": app["CFBundleVersion"] ?? "",
7979
"namespace": Bundle.main.bundleIdentifier ?? ""

0 commit comments

Comments
 (0)