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

Unnecessary optionality of TrackerController #847

Closed
Kymer opened this issue Nov 29, 2023 · 0 comments · Fixed by #848
Closed

Unnecessary optionality of TrackerController #847

Kymer opened this issue Nov 29, 2023 · 0 comments · Fixed by #848
Labels
type:enhancement New features or improvements to existing features.
Milestone

Comments

@Kymer
Copy link
Contributor

Kymer commented Nov 29, 2023

Since the major version bump from Snowplow 4.x to 5.x (the move to Swift) calling Snowplow.createTracker(namespace:network:configurations:) now returns an optional TrackerController. Upon closer inspection, this optional is not needed. With minimal effort and only a few internal changes I was able get rid of the optionality.

Perhaps this was a small oversight with the move to Swift. If not: what is the reasoning behind that function call to return an optional tracker? If it's not deemed necessary I'd be willing to open a PR to address this 🙂

@Kymer Kymer added the type:enhancement New features or improvements to existing features. label Nov 29, 2023
Kymer added a commit to Kymer/snowplow-ios-tracker that referenced this issue Nov 30, 2023
Kymer added a commit to Kymer/snowplow-ios-tracker that referenced this issue Nov 30, 2023
Kymer added a commit to Kymer/snowplow-ios-tracker that referenced this issue Nov 30, 2023
Kymer added a commit to Kymer/snowplow-ios-tracker that referenced this issue Nov 30, 2023
Kymer added a commit to Kymer/snowplow-ios-tracker that referenced this issue Nov 30, 2023
Kymer added a commit to Kymer/snowplow-ios-tracker that referenced this issue Nov 30, 2023
@matus-tomlein matus-tomlein added this to the 6.0.0 milestone Feb 1, 2024
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

Successfully merging a pull request may close this issue.

2 participants