Skip to content

Commit f3505ac

Browse files
authored
Update SEGAmplitudeIntegration.m (#95)
When reset is called, reinitialize identify otherwise old traits will continue through new identify calls.
1 parent a1a7229 commit f3505ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Pod/Classes/SEGAmplitudeIntegration.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ - (void)reset
244244

245245
[self.amplitude regenerateDeviceId];
246246
SEGLog(@"[Amplitude regnerateDeviceId];");
247+
248+
self.identify = [AMPIdentify identify];
249+
SEGLog(@"[Amplitude reset identify];");
247250
}
248251

249252
#pragma utils

0 commit comments

Comments
 (0)