Skip to content

Commit 1e63834

Browse files
authored
Fixed foreground call for iOS (#101)
1 parent c5a7f4f commit 1e63834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Segment/Plugins/Platforms/iOS/iOSLifecycleEvents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class iOSLifecycleEvents: PlatformPlugin, iOSLifecycle {
6363
let currentVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
6464
let currentBuild = Bundle.main.infoDictionary?["CFBundleVersion"] as? String
6565

66-
analytics?.track(name: "Application Opened", properties: [
66+
analytics?.track(name: "Application Foregrounded", properties: [
6767
"from_background": true,
6868
"version": currentVersion ?? "",
6969
"build": currentBuild ?? ""

0 commit comments

Comments
 (0)