Open hardikaecor opened 6 years ago
@hardikaecor did you find any solution?
@hardikaecor @mira-thakkar any solution?
This is still a problem
I solve it with change config based on notification type
if ($user_type == 'seller') {
config([
'fcm.http.server_key' => env('Seller_FCM_SERVER_KEY'),
'fcm.http.sernder_id' => env('Seller_FCM_SERVER_ID'),
]);
}
In my case, I needed to send to different mobile apps based on client. We have many applications for different clients. We used the same method as @menkaff. We modify FCM parameters in runtime.
I have an application from which i need to send and push notification to two different Apps both having different FCM Sender_id and Server_key. How can i configure this as i find no option to provide a driver that i can use which using FCM:sendto() function.
Any help in this regards will be do the needfull.
Thanks, Hardik
Did you find the solution?
hi,
I have an application from which i need to send and push notification to two different Apps both having different FCM Sender_id and Server_key. How can i configure this as i find no option to provide a driver that i can use which using FCM:sendto() function.
Any help in this regards will be do the needfull.
Thanks, Hardik