observer Validation
Observes validation events related to certificate pinning.
Return
A Flow that emits ValidationEvent objects.
// Collect the flow in a coroutine scope
ShieldCert.shared.observerValidation { [weak self] value in
DispatchQueue.main.async {
self?.observateValidate = value.description
}
}Content copied to clipboard