Hi,
I would sugget to change the readme, section install
You have made 2 minor change to the library, 2.0.1 and 2.0.2 that fixes the use with Laravel 7.
Using the command ^2.0 can't download this minor change that are mandatory in a Laravel 7 projet.
I suggest to change the install command to ~2.0 or 2.0.* or something similar, I used:
composer require laravel-notification-channels/fcm:~2.0
I'm not really expert of composer so check it.
You can replicate the issue simply creating a new freshly Laravel 7.x install and running the command.
It will checkout v2.0.0 instead of v2.0.2 and issuing the error:
Hi, I would sugget to change the readme, section install You have made 2 minor change to the library, 2.0.1 and 2.0.2 that fixes the use with Laravel 7.
Using the command ^2.0 can't download this minor change that are mandatory in a Laravel 7 projet.
I suggest to change the install command to ~2.0 or 2.0.* or something similar, I used:
composer require laravel-notification-channels/fcm:~2.0
I'm not really expert of composer so check it.
You can replicate the issue simply creating a new freshly Laravel 7.x install and running the command. It will checkout v2.0.0 instead of v2.0.2 and issuing the error:
laravel-notification-channels/fcm 2.0.0 requires illuminate/support ~5.6 || ~6.0
I struggled a bit trying to resolve this. Hope this helps.
Salvatore D'Alessandro, Italy.