Skip to content
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

On demand notifications #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

onikaanin
Copy link

On-Demand Notifications support added to Laravel 5.5 and newer. We can send a notification to someone who is not stored as a user by this feature.

@gr8shivam
Copy link
Owner

Hi @onikaanin, Apologies, I wasn't available.

Can you tell me how this is different from using smsapi()->sendMessage("TO","MESSAGE"); directly?

@onikaanin
Copy link
Author

onikaanin commented Jan 21, 2021

Hi @onikaanin, Apologies, I wasn't available.

Can you tell me how this is different from using smsapi()->sendMessage("TO","MESSAGE"); directly?

Hi @gr8shivam
They are not different in terms of usage, but one of the features of your package is to be compatible with Laravel notification, and if the developer has implemented its SMS sending in this way, Laravel on-demand notification may be needed. And it is better that this package supports this feature. This was a problem that happened to me as well.

@Harmtee
Copy link

Harmtee commented Dec 4, 2022

Hi @onikaanin, @gr8shivam. I used notification to send SMS but I need to get response. I know I can get this with the sendMessage method of SmsApi Facade by chaining response(). Is there implementation for it with the notification? I couldn't see this from the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants