Added
- Cloud Messaging: Notifications can now be provided with an image URL (Documentation)
- Cloud Messaging: You can use
Kreait\Firebase\Messaging\RawMessageFromArray(array $data)
to create a message without the SDK checking it for validity before sending it. This gives you full control over the sent message, but also means that you have to send/validate a message in order to know if it's valid or not. (Documentation) - Cloud Messaging: It is now possible to add platform-independent FCM options to a message. (Documentation)
Changed
- Removed ability to specify multiple message targets (Condition/Token/Topic) at once when creating an FCM message through
CloudMessage::fromArray()
. Previously, only the first matched target was used. Now, anInvalidArgument
exception is thrown.