You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to dissable IDFV tracking, has no effect, since the Amplitude initializer set its deviceid as the idfv before the tracking options are even checked.
Initializing the sdk like this:
in the Amplitude initializer the ContextPlugin is initialized:
func initializeDeviceId() {
var deviceId = amplitude?.state.deviceId
if isValidDeviceId(deviceId) {
return
}
if deviceId == nil {
deviceId = staticContext["idfv"] as? String
}
if deviceId == nil {
deviceId = NSUUID().uuidString
}
_ = amplitude?.setDeviceId(deviceId: deviceId)
}
this will set the deviceId on the amplitude instance as the idfv.
Then later even if the event.idfv field will not be filled, the device id will still be equal to the idfv.
Expected Behavior
disabling the idfv tracking should also anonymize the deviceid on the amplitude instance
Current Behavior
amplitude instance device id is still equal to the idfv
Possible Solution
When the ConectPlugin is initialized, the tracking options should be passed down, and when the deviceid is initialized a check should be done, and if idfv is disabled, the device id should be set to a random uuid
Trying to dissable IDFV tracking, has no effect, since the Amplitude initializer set its deviceid as the idfv before the tracking options are even checked.
Initializing the sdk like this:
in the Amplitude initializer the ContextPlugin is initialized:
this will set the deviceId on the amplitude instance as the idfv.
Then later even if the event.idfv field will not be filled, the device id will still be equal to the idfv.
Expected Behavior
disabling the idfv tracking should also anonymize the deviceid on the amplitude instance
Current Behavior
amplitude instance device id is still equal to the idfv
Possible Solution
When the ConectPlugin is initialized, the tracking options should be passed down, and when the deviceid is initialized a check should be done, and if idfv is disabled, the device id should be set to a random uuid
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: