Closed samankarbasi closed 11 months ago
Just use that package instead then?
Otherwise PRs accepted.
Just use that package instead then?
Otherwise PRs accepted.
problem with that package is, they use legecy FCM api. its a pity that package with the available potentials is not adding those methods.
hi, can we have seperated icon with banner. with some other packages i saw, we can send logo (icon of application for example) + a banner image that shows in notification bar.
package: https://github.com/kutia-software-company/larafirebase
generator is like this:
Larafirebase ::withTitle($firebaseNotificationShape->getTitle()) ->withBody($firebaseNotificationShape->getBody()) ->withImage($firebaseNotificationShape->getImageUrl()) ->withIcon($firebaseNotificationShape->getIconUrl()) ->withSound('default') ->withClickAction($firebaseNotificationShape->getActionUrl()) ->withPriority('high') ->withAdditionalData($firebaseNotificationShape->getPayload() ?? null) ->sendNotification($tokens);