Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What happens if my app is sent to the background by the user?
A Stop event is called when the app goes to background causing a new measurement session to start when user returns and resumes and the library is activated again.

Device type information is not visible to our player – we don't drill down to device versions.  Instead we can report the device string constant exposed by Apple's APIs, which could then be converted to a 'human' string outside of the player environment.
Is this suitable?

In this case the device string should be reported. This approach means if new devices are released, or Apple were to change the device strings, there is no need to update the App as the logic resides externally.

...