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

TrackerConfiguration().screenViewAutotracking(false) has no effect #802

Closed
dannykraemer opened this issue Jul 6, 2023 · 1 comment
Closed
Assignees
Labels
type:defect Bugs or weaknesses. The issue has to contain steps to reproduce.

Comments

@dannykraemer
Copy link

Describe the bug
Screen views are automatically tracked even if configured to not to do so.

To Reproduce
Configure (custom) tracker with TrackerConfiguration().screenViewAutotracking(false).
Observe event payload

Expected behavior
Screen views are not automatically tracked.

Screenshots
N/A

Device information (please complete the following information):

  • Device: all iOS devices
  • OS: iOS, all versions
  • Browser: N/A
  • Version: Snowplow iOS tracker SDK 5.3.0

Additional context
? Missing fallback to sourceConfig?. … in case _screenViewAutotracking is nil in screenViewAutotracking getter in Sources/Snowplow/Configurations/TrackerConfiguration.swift

@dannykraemer dannykraemer added the type:defect Bugs or weaknesses. The issue has to contain steps to reproduce. label Jul 6, 2023
@matus-tomlein
Copy link
Contributor

Thank you for reporting this and also identifying the problem, @dannykraemer! We will work on a quick patch release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:defect Bugs or weaknesses. The issue has to contain steps to reproduce.
Projects
None yet
Development

No branches or pull requests

2 participants