0

On iOS, if you start a timer:

[Flurry logEvent:eventName withParameters:parameters timed:YES];

What happens if the user leaves the app and the session ends? Does the time get logged?

What happens if the user leaves the app and then returns before the session ends?

BigCheesy
  • 1,128
  • 8
  • 14
  • How about you try it and test it? It's not difficult isn't it? – Black Maggie Mar 06 '14 at 02:24
  • Unhelpful answer, black maggie. If you're unfamiliar with Flurry, it takes a long time for data to filter in. That would make quite a frustrating debugging session. And it's nondeterministic. I could try HTTP sniffing my traffic and figuring out their over-the-wire protocol, but that's a lot of work for a question that should be common knowledge, no? – BigCheesy Mar 06 '14 at 18:18

2 Answers2

0

Yes. All timed events are stopped and logged when a user backgrounds the app. I don't think that session end triggers it.

BigCheesy
  • 1,128
  • 8
  • 14
-1

Answer to your questions is here

What happens if the user leaves the app and the session ends? 
The session ends after 10 seconds after app enters the background state.
You can update this using 

> setSessionContinueSeconds

Does the time get logged?
YES.

What happens if the user leaves the app and then returns before the session ends?
The session continues. 
Kunal Balani
  • 4,739
  • 4
  • 36
  • 73
  • Link-only answers are generally discouraged on Stack Overflow because they often eventually stop working. Also, your link only answers how sessions are counted; it says nothing about how timers are handled. – Aaron Brager Mar 06 '14 at 02:27