View difference between Paste ID: 0FhxnhNW and XZhQGbqv
SHOW: | | - or go back to the newest paste.
1-
func logApp_gone_backgroundEvent(
1+
func logApp_terminatedEvent(
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_gone_background"), parameters: parameters)
10+
    AppEvents.logEvent(.init("app_terminated"), parameters: parameters)
11
}