Versions Compared

Key

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

Why does R89SDK suggest enabling background modes?

The R89SDK begins tracking the advertisement session upon initialization and automatically stops the ends theses after a specified period (adjustable from the dashboard) when the app is moved to the background. However, if this period exceeds roughly 2 minutes the app might be suspended by the iOS system, preventing the SDK from notifying the server that the session has ended. To mitigate this behavior, R89SDK schedules a background task as soon as the app moves to the background, which checks if it's time to end the session and properly reports it to the server, even if the app is suspendedBecause we track amount of time in the app, times a user opens the app to provide better analytics, to do this correctly we need the background modes to be enabled due to technical needs.