TrueTime.swift
TrueTime.swift copied to clipboard
Crashed: com.instacart.ntp.client $s8TrueTime9NTPClientC5start4pool4portySaySSG_SitFyycfU_ + 168
im getting this crash report in crashlytics. you guys have any idea about this ?
Got a same one
hello! did you manage to resolve this issue? if so, how?
Hi @chehabmhd, what did was i started the client in didFinishLaunchingWithOptions method by adding this TrueTimeClient.sharedInstance.start() .
after that i invoked fetchIfNeeded method.
TrueTimeClient.sharedInstance.fetchIfNeeded(completion: { result in switch result { case let .success(referenceTime): case .failure(_): self.dismiss(animated: true, completion: nil) } })
so far i didn't get any crashes.