mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
update session context before tracking a new session event
This commit is contained in:
parent
95d8ee9aea
commit
27d5db6043
@ -114,9 +114,8 @@ NSString *const kBITApplicationWasLaunched = @"BITApplicationWasLaunched";
|
|||||||
[strongSelf.telemetryContext setSessionId:newSession.sessionId];
|
[strongSelf.telemetryContext setSessionId:newSession.sessionId];
|
||||||
[strongSelf.telemetryContext setIsFirstSession:newSession.isFirst];
|
[strongSelf.telemetryContext setIsFirstSession:newSession.isFirst];
|
||||||
[strongSelf.telemetryContext setIsNewSession:newSession.isNew];
|
[strongSelf.telemetryContext setIsNewSession:newSession.isNew];
|
||||||
|
[strongSelf trackSessionWithState:BITSessionState_start];
|
||||||
});
|
});
|
||||||
|
|
||||||
[self trackSessionWithState:BITSessionState_start];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BITSession *)createNewSessionWithId:(NSString *)sessionId {
|
- (BITSession *)createNewSessionWithId:(NSString *)sessionId {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user