Providing TrackerConfiguration
overrides the TrackerDefaults.devicePlatform
#893
Labels
type:defect
Bugs or weaknesses. The issue has to contain steps to reproduce.
Describe the bug
If no
devicePlatform
is provided toTrackerConfiguration
, the device platform defaults tomobile
To Reproduce
Device platform is initialised here:
https://github.com/snowplow/snowplow-ios-tracker/blob/master/Sources/Core/Utils/Utilities.swift#L45
Tracker adds
devicePlatform
with paramp
to payload:https://github.com/snowplow/snowplow-ios-tracker/blob/master/Sources/Core/Tracker/Tracker.swift#L525
Which is redefined here when providing
TrackerConfiguration
:https://github.com/snowplow/snowplow-ios-tracker/blob/master/Sources/Core/Tracker/ServiceProvider.swift#L298
Which defaults to
DevicePlatform.mobile
Device information (please complete the following information):
The text was updated successfully, but these errors were encountered: