/// <inheritdoc cref="IHub.ResumeSession"/> public void StateResumed() { // When the app is launched, the Resumed state is triggered. // We don't want to register a Resume session when the app initiates. if (!FirstResumed) { FirstResumed = true; } // Allow the resume setup only if the previous state was paused. // Otherwise, we'll ignore the resume session since it's already resumed. else { IsPaused = false; SentrySdk.ResumeSession(); } }
/// <inheritdoc cref="IHub.ResumeSession"/> public void StateResumed() { _isPaused = false; SentrySdk.ResumeSession(); }