This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Generate and send a turnstile event when map view event is queued
This change adds logic to push a turnstile event whenever a map view event is queued. It guards against sending the turnstile event more than once per session. Note that `pushTurnstileEvent` is actually a "force push" in that it flushes the queue and, since it enqueues a turnstile event, the flush's call to `postEvents` will attempt to send any queued events even if telemetry is paused. This has the side effect of defeating the other queue / timing / flush logic in place whenever map load (and now implicitly turnstile) events are pushed.
- Loading branch information
Showing
1 changed file
with
41 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters