This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Description
Hi there, just noticed something while I was setting up the code in Swift.
I think the snippet should be rewritten like this in order to compile:
FBNotificationsManager.shared().presentPushCard(forRemoteNotificationPayload: userInfo, from: nil) { viewController, error in
if let _ = error {
completionHandler(.failed)
} else {
completionHandler(.newData)
}
}
Thanks!