diff --git a/DevCycle/DevCycleClient.swift b/DevCycle/DevCycleClient.swift index c2583fd..2bd6137 100644 --- a/DevCycle/DevCycleClient.swift +++ b/DevCycle/DevCycleClient.swift @@ -96,6 +96,10 @@ public class DevCycleClient { selector: #selector(appMovedToForeground), name: UIApplication.willEnterForegroundNotification, object: nil) + NotificationCenter.default.addObserver(self, + selector: #selector(appMovedToForeground), + name: UIApplication.didBecomeActiveNotification, + object: nil) #elseif os(watchOS) NotificationCenter.default.addObserver(self, selector: #selector(appMovedToBackground),