bugsnag-unity icon indicating copy to clipboard operation
bugsnag-unity copied to clipboard

Fix timing issues when Bugsnag started after the focus event

Open JamesLindsay0 opened this issue 7 months ago • 0 comments

Goal

Fix issues where Bugsnag is started after the focus event is received (so the foreground timer was never started).

Changeset

  • Start the foreground stopwatch automatically on startup.
  • Use the Duration rather than the ForegroundDuration to determine if the app has launched as it takes account of the time before Bugsnag was started.

JamesLindsay0 avatar Jul 04 '24 14:07 JamesLindsay0