FIRMessagingExtensionHelper

class FIRMessagingExtensionHelper : NSObject

This class is used to automatically populate a notification with an image if it is specified in the notification body via the image parameter. Images and other rich content can be populated manually without the use of this class. See the UNNotificationServiceExtension type for more details.

  • Call this API to complete your notification content modification. If you like to overwrite some properties of the content instead of using the default payload, make sure to make your customized motification to the content before passing it to this call.

    Declaration

    Swift

    func populateNotificationContent(_ content: UNMutableNotificationContent, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void)