Skip to content

Commit 05fec05

Browse files
committed
fixed watchOS defaults
1 parent 2906787 commit 05fec05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/Segment/Configuration.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ public final class TrackedLifecycleEvent: NSObject, OptionSet {
9292
.applicationBackgrounded,
9393
.applicationForegrounded,
9494
]
95+
#elseif os(watchOS)
96+
@objc public static let all: TrackedLifecycleEvent = [
97+
.applicationInstalled,
98+
.applicationUpdated,
99+
.applicationOpened,
100+
.applicationBackgrounded,
101+
]
95102
#else
96103
@objc public static let all = TrackedLifecycleEvent.none
97104
#endif

0 commit comments

Comments
 (0)