Debugging & installationId
Diagnostics for OnsideKit: the installationId publisher, SDK console logging, and the SSL-pinning debug switch.
installationId
static let installationId: AnyPublisher<String?, Never>import Combine
import OnsideKit
var cancellables = Set<AnyCancellable>()
Onside.installationId
.compactMap { $0 }
.sink { id in
print("Onside installation id: \(id)")
}
.store(in: &cancellables)Console logging
Disabling SSL pinning (debug only)
Last updated
Was this helpful?