Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.2.0 #705

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Release 6.2.0 #705

wants to merge 2 commits into from

Conversation

matus-tomlein
Copy link
Contributor

This release adds an option to continue the previously persisted session when the app restarts.

The default behaviour is to always start a new session when a new tracker is created (i.e., when the app restarts) regardless of whether the previous one timed out or not.

With the option enabled, every session update is persisted to the UserDefaults storage. This includes the current event index in the session and a timestamp of the last update of the session. In case it's disabled, only session changes are persisted to UserDefaults.

The option can be configured using SessionConfiguration:

val sessionConfig = SessionConfiguration()
    .continueSessionOnRestart(true)

Enhancements

@matus-tomlein matus-tomlein changed the title Release/6.2.0 Release 6.2.0 Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant