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
When calling identify immediately after calling reset, the userId and traits will not get reset.
Minimal example:
// Swift
Analytics.shared().identify("123", traits:["firstName":"John","age":"20"])Analytics.shared().flush()Analytics.shared().reset()Analytics.shared().identify(nil, traits:["firstName":"David"])
// Segment debugger
IDENTIFY: "traits": {"userId": "123", "firstName": "John", "age": "20"}
IDENTIFY: "traits": {"userId": "123", "firstName": "David", "age": "20" } // userId and traits did not get reset
The first IDENTIFY call works as expected.
In the second IDENTIFY call, I would expect the userId and age to not have a value.
But if I add a delay after the reset it all works as expected.
When calling
identify
immediately after callingreset
, theuserId
andtraits
will not get reset.Minimal example:
The first IDENTIFY call works as expected.
In the second IDENTIFY call, I would expect the
userId
andage
to not have a value.But if I add a delay after the
reset
it all works as expected.Library version
4.1.6
.The text was updated successfully, but these errors were encountered: