Send push notification async with laravel - laravel

I use laravel 5.5 as my api and after the admin activates an article from the app i send a request to the api to activate the article and send push notification to all users (iOS / Android)
Ok all that works but the problem is that the response takes a long time to return to the mobile application
My question here is what is the best way to do that ?
update
Ok I think I'll use laravel queue

You can use socket.io. . I used this for realtime notifications. It requires nodejs.

Related

How to send notification to specific user in Expo/Laravel

I have an Expo app with a Laravel backend and I want to send notifications to the app. But the condition is that only a specific user can receive it.
I installed the Following library Exponent Notifications
I've Installed expo-notifications as well
But I don't know How it works, How I can listen to the notification channel and How to send Notification from backend.
With Expo you don't get to pick the push notification service according to you, you can try Firebase Cloud messaging or One Signal, but I don't think you can do it only by your Laravel Backend

laravel im making a web based reminder system that can send a message in sms

I am making a web based reminder sysyem in laravel that can send a message in sms and I am still new to laravel could you guys help on what should I use?
I am from Philippines
and also an sms api that can use on Philippines on the laravel
thank you
You can use this service thetexting . It has sample code for php or anything which you want to integrate in.
I hope it helps.
also you can use sinch or twilio for sms sending, search each of them.

Is there anyway to do simple laravel notification

Is there anyway to make laravel notification in a simple way? I need to do notification function for my complaint handling system where the system should notify the user if complaint exist in their account which should be User Id.
You can make a pusher like system with redis, node.js and socket.io
You have a tutorial in Medium

Firebase Admin SDK Push notification cannot be measured

I wonder if I can measure my push notifications open and receive rate, sent by my backend. I use laravel right now and I use firebase admin SDK to send push notification from my backend server.
However, I cannot measure my push notification open and receive rate because it doesn't appeared in firebase console. Is there any way out like if google have API for us to grab the push notification data, or anything else ?
I'm also open for using another push notification service, as long they provide the analytics tools for the push notification campaign.
Thanks
Hi Kevin currently only the console allows automatic tracking of notification opens and other metrics. You could log these events yourself with the Google Analytics for Firebase SDK. Thanks for the feedback, this would be a useful feature.

Parse.com push notification for web clients by making changes in installation class

I am trying to send push notifications to my web application.
Is there any way to send push notification to my web users using parse.com's push service if i have the GCM_SENDER_ID and my APP_ID ?
Right now the procedure that i am thinking of using is this :
1). Run a service worker on my chrome client which gives me registration id of user . I save this in my installation class in deviceToken field . I also save my gcm_sender_id along with it.
2). Use parse.com's push sending api.
Will this work or do i need to directly make rest calls to https://android.googleapis.com/gcm/send to send my message.

Resources