Skip to content

Commit

Permalink
Add missing @objc annotation on onSessionStateUpdate builder function…
Browse files Browse the repository at this point in the history
… in SessionConfiguration
  • Loading branch information
matus-tomlein committed Dec 17, 2024
1 parent a71cf7d commit 3cd8e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Snowplow/Configurations/SessionConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public class SessionConfiguration: SerializableConfiguration, SessionConfigurati
// MARK: - Builders

/// The callback called everytime the session is updated.
@objc
public func onSessionStateUpdate(_ value: ((_ sessionState: SessionState) -> Void)?) -> Self {
onSessionStateUpdate = value
return self
Expand Down

0 comments on commit 3cd8e12

Please sign in to comment.