You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// YourServiceProvider.phpuseNotificationChannels\FCM\MessageWasSended;
...Event::listen(MessageWasSended::class, function (MessageWasSended$event) {
$downstreamResponse = $event->response;
$downstreamResponse->numberSuccess();
$downstreamResponse->numberFailure();
$downstreamResponse->numberModification();
//return Array - you must remove all this tokens in your database$downstreamResponse->tokensToDelete();
//return Array (key : oldToken, value : new token - you must change the token in your database )$downstreamResponse->tokensToModify();
//return Array - you should try to resend the message to the tokens in the array$downstreamResponse->tokensToRetry();
});
...
Hello,
im trying get the downstreamresponse just in case some of the tokens need updating. I can't figure it out on how to get it, is there a way ?
The text was updated successfully, but these errors were encountered: