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

Swift getting started snippet #35

@alexbredy

Description

@alexbredy

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions