-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Add push channel to notifier #39402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c467a1a
to
b5cbf1e
Compare
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php
Outdated
Show resolved
Hide resolved
Why does this require a new interface? Can't a webpusher we implemented as a texter or a chatter like the other bridges? |
No preference, just thought that it'd be better to separate web push transports from texter/chatter. |
OK thanks. Then, unless there is a real reason that'd need to be discussed, this should be implemented as a transport really. |
b5cbf1e
to
81e8e67
Compare
Hmm, but then if we don't introduce webpusher as a transport, all the texter or chatter transports would be injected to the web push channel. Is that okay? |
0dbfd78
to
d3c2a26
Compare
d3c2a26
to
b10ecdc
Compare
b10ecdc
to
523a29e
Compare
What is the status on this PR. Isn't this something @dunglas would be super interested to see? |
I am just waiting for reviews :) |
=) While waiting, could you do a rebase on this PR to the latest CI jobs will run? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I did a quick review. Look at the other mailer or notifier transports. I’ve just updated their exception handling.
src/Symfony/Component/Notifier/Bridge/OneSignal/OneSignalTransport.php
Outdated
Show resolved
Hide resolved
1939c02
to
aa13585
Compare
0bccf1d
to
ac2c895
Compare
Not sure but if a "Push Channel" is introduced then it would make sense to move Maybe this affects other chatters too, this I don't know. I guess this would break backward compatibility. I could try to make a PR for |
Firebase Notifier can provide chat AND push functionality, while we can deprecate chat functionality in 5.4 and remove it in 6.0 From my POV we should merge this new channel cc @fabpot |
< 8000 p dir="auto">What's so special with this PR that nobody other wants to approve? 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay.
Im also happy with the changes.
ac2c895
to
4abd280
Compare
Thank you @norkunas. |
4abd280
to
e8638ab
Compare
@norkunas Can you work on updating the docs? See symfony/symfony-docs#15946 |
Will do :) |
@norkunas Can you create a PR on symfony/recipes like done for other notifiers? |
submitted |
I am proposing to add a new push channel for sending web/mobile push notifications to users.
This will open possibility to integrate providers like OneSignal, WonderPush, etc.
And as requested added the first implementation.