laravel-notification-channels / fcm

Firebase Cloud Messaging (FCM) notifications channel for Laravel
https://laravel-notification-channels.com/
MIT License
491 stars 126 forks source link

Support for version 4.0 of laravel-firebase #98

Closed dododedodonl closed 2 years ago

dododedodonl commented 2 years ago

Resolves #97

I tested installing and a simple notification test via a token, and this is successful.

atymic commented 2 years ago

Is it possible to support the latest version (ie 6)?

dododedodonl commented 2 years ago

4.0 is the latest version for the kreait/laravel-firebase package. Version 4.0 depends on kreait/firebase-php package version 6.

atymic commented 2 years ago

Ahh right. Does this address the breaking changes in v4?

dododedodonl commented 2 years ago

The version number of kreait/laravel-firebase just lags behind that of kreait/firebase-php. Some deprecated facades and configs were removed, and minimum laravel version got bumped to 8 for kreait/laravel-firebase. In kreait/firebase-php a few packages got a newer minimum version, but the basic api remains the same. As far as I can tell and tested, no features changed that are used in the notification channel.

Afrowson commented 2 years ago

I second this and can confirm it. Started to work on it my selfe today at work.

We use it and want to update to php8.1. It did work in our testing environment.

jeromegamez commented 2 years ago

I just wanted to chime to say how amazing it is that you managed to keep backward compatibility to the Firebase package down to v1.3 🤯, great work!

tobiasnitsche commented 2 years ago

Any news on this?

atymic commented 2 years ago

Can you have a go at installing dev-master. If all is working i'll tag a new version :)

marcroberts commented 2 years ago

Looks good to me 👍

dododedodonl commented 2 years ago

Works the same as I tested before! Thanks!

atymic commented 2 years ago

Ta!

tobiasnitsche commented 2 years ago

I tested too. Looks all fine! Thx