Код: Выделить всё
Background Task 23763 ("amplitude"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
Код: Выделить всё
DispatchQueue.main.async {
Amplitude.sharedInstance.track(
eventType: "content_remove_from_library_error",
eventProperties: ["Category": self.category.subid, "Source" : "ContentPage"]
)
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... -amplitude