UIApplicationWillEnterForegroundNotification fires both at initial launch and when returning from the background. Because we were using a different notification (UIApplicationDidFinishLaunchingNotification) to detect if the app open was from the background, we effectively were firing the event twice. Instead, rely on UIApplicationState to determine if we were opened from the background.
Checklist
[X] Does your PR title have the correct title format?
Summary
UIApplicationWillEnterForegroundNotification fires both at initial launch and when returning from the background. Because we were using a different notification (UIApplicationDidFinishLaunchingNotification) to detect if the app open was from the background, we effectively were firing the event twice. Instead, rely on UIApplicationState to determine if we were opened from the background.
Checklist