View difference between Paste ID: uu6Mirvj and HX1dWV6t
SHOW: | | - or go back to the newest paste.
1-
func logCity_mode_leftEvent(
1+
func logHighway_enteredEvent(
2
    sessionHash: String
3
    userId: String
4
    appMode: String
5
    highwayName: String
6
) {
7
    let parameters = [
8
        AppEvents.ParameterName("sessionHash").rawValue: sessionHash,
9-
        AppEvents.ParameterName("appMode").rawValue: appMode
9+
10
        AppEvents.ParameterName("appMode").rawValue: appMode,
11
        AppEvents.ParameterName("highwayName").rawValue: highwayName
12-
    AppEvents.logEvent(.init("city_mode_left"), parameters: parameters)
12+
13
14
    AppEvents.logEvent(.init("highway_entered"), parameters: parameters)
15
}