packagist kreait/firebase-php 4.27.0

latest releases: 7.x-dev, dev-dependabot/github_actions/codecov/codecov-action-5.0.2, 7.16.0...
5 years ago

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, an InvalidArgument exception is thrown.

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.