View difference between Paste ID: 09DwyPG6 and 0FhxnhNW
SHOW: | | - or go back to the newest paste.
1-
func logApp_terminatedEvent(
1+
func logApp_launchedEvent(
2
    sessionHash: String
3
    userId: String
4
) {
5
    let parameters = [
6
        AppEvents.ParameterName("sessionHash").rawValue: sessionHash,
7
        AppEvents.ParameterName("userId").rawValue: userId
8
    ]
9
10-
    AppEvents.logEvent(.init("app_terminated"), parameters: parameters)
10+
    AppEvents.logEvent(.init("app_launched"), parameters: parameters)
11
}