symfony: The "firebase" scheme is not supported.
Symfony version(s) affected
5.4.*
Description
Hi, when I try to use Firebase Notifier i got this error.

How to reproduce
I try to inject TexterInterface in Command (only for testing)
This is my config\packages\notifier.yaml
And this is .env

Possible Solution
No response
Additional Context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (5 by maintainers)
I’ve got a working POC extending Notification and Recipient classes:
Thanks a lot for the answer. Thanks to your help, I fixed all the problems and now the notifications work perfectly. Hopefully someone will work on improving the Notifier documentation.
I am sorry for my last comment. I had a deeper look at the firebase-notifier and its poor documentation. This code (https://github.com/symfony/firebase-notifier/blob/5.4/FirebaseTransport.php#L48:L51) is the key. You have to use firebase with
ChatMessageinstances and recording to the notifier documentation please try the following (as I don’t use firebase):Edit: And don’t forget to move
firebase: '%env(FIREBASE_DSN)%'fromtexter_transportstochatter_transportsinnotifier.yaml.