summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-03-18 14:09:03 -0700
committerJesse Bounds <jesse@rebounds.net>2016-03-21 14:09:11 -0700
commitb163e9949918c9d495b92765d694c8ed7049b260 (patch)
treeef2bf451ec54cd3898d5e25190ceb74ff3cfcce3 /.travis.yml
parentfb4d9d083da8bd44edefcbbc3eae7b54af239e0f (diff)
downloadqtlocation-mapboxgl-b163e9949918c9d495b92765d694c8ed7049b260.tar.gz
[iOS] Send turnstile event as much as once per day
Previously, the post of the turnstile event was a side effect of the map.load event and would happen when the host app was started from a terminated state at the first initialization of MGLMapView. The turnstile event post was guarded with dispatch_once so that it would only ever be sent once during the lifecycle of the application after it started from the terminated state. This changes that behavior by: - Allowing a new turnstile event to be posted as much as once per day - Only triggering a map.view event when a map is initialized if the map is loaded outside of the 'background' application state - Sending a map.view event whenever a MGLMapView is instantiated and the application did become active or enters foreground iOS turnstile event sending behavior is now: - A map.view event is generated whenever a map is loaded and also when a map is shown again when the host app becomes active and moves into the foreground - Turnstile events are still triggered by mapviews and will be sent as frequently as once per day for a host app that is not terminated and also whenever a host app is terminated and restarted w
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions