Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[ios] Observer that app did become active instead of will foreground #6600

Merged
merged 1 commit into from
Oct 5, 2016

Conversation

boundsj
Copy link
Contributor

@boundsj boundsj commented Oct 5, 2016

If metrics collection was paused when the host app was previously backgrounded, metrics collection should resume if the host app becomes active. This change observes UIApplicationDidBecomeActiveNotification so that, when responding to that notification, the application is in the required state (active) when the method to determine if metrics should be collected is run.

cc @1ec5 @friedbunny @pveugen

@boundsj boundsj added bug iOS Mapbox Maps SDK for iOS labels Oct 5, 2016
@boundsj boundsj added this to the ios-v3.4.0 milestone Oct 5, 2016
@boundsj boundsj self-assigned this Oct 5, 2016
@mention-bot
Copy link

@boundsj, thanks for your PR! By analyzing the history of the files in this pull request, we identified @friedbunny, @1ec5 and @bleege to be potential reviewers.

@boundsj boundsj merged commit dab8ee9 into master Oct 5, 2016
@boundsj boundsj deleted the boundsj-observer-did-become-active branch October 5, 2016 18:53
@friedbunny friedbunny added the telemetry Integration with Mapbox Telemetry libraries label Oct 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS telemetry Integration with Mapbox Telemetry libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants