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

Add version to default remote configuration and don't update unless remote configuration is newer #779

Closed
matus-tomlein opened this issue May 15, 2023 · 1 comment
Assignees
Labels
type:enhancement New features or improvements to existing features.
Milestone

Comments

@matus-tomlein
Copy link
Contributor

When the user configures the tracker using remote configuration and sets a default configuration, the default configuration will always be replaced by the fetched configuration regardless of whether it is different or not. This causes a new session to start (since a new tracker is created).

To prevent replacing the tracker in case the remote configuration is the same as the default configuration, we should add a configuration version to the default configuration and only replace it if the fetched configuration has a higher version.

@davidher-mann
Copy link

Thanks for creating the issue. Since the first session (app install session) is super relevant to generate insights, optimize onboarding flows and marketing spend etc. it would be great to tackle the issue in the upcoming weeks.

@matus-tomlein matus-tomlein self-assigned this May 19, 2023
@matus-tomlein matus-tomlein added the type:enhancement New features or improvements to existing features. label May 19, 2023
matus-tomlein added a commit that referenced this issue May 19, 2023
matus-tomlein added a commit that referenced this issue May 19, 2023
matus-tomlein added a commit that referenced this issue May 19, 2023
@matus-tomlein matus-tomlein added this to the 5.2.0 milestone May 19, 2023
matus-tomlein added a commit that referenced this issue May 22, 2023
matus-tomlein added a commit that referenced this issue May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New features or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

2 participants