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
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
How to add badge on push notification using brozot/Laravel-FCM ?
I'm sending and receiving push notifications correctly on iOS devices, but I would like to know how can I send badge information with the notification builder?
I tried this code but it is not working (see error below):
`$optionBuilder = new OptionsBuilder();
$optionBuilder->setTimeToLive(43200);
[2020-11-02 04:49:28] local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function setBadge() on string in /var/www/html/app/Http/Controllers/api/v1/NotificationsController.php:221
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@brozot ----> Please Help
How to add badge on push notification using brozot/Laravel-FCM ?
I'm sending and receiving push notifications correctly on iOS devices, but I would like to know how can I send badge information with the notification builder?
I tried this code but it is not working (see error below):
`$optionBuilder = new OptionsBuilder();
$optionBuilder->setTimeToLive(43200);
But it is throwing following error
[2020-11-02 04:49:28] local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function setBadge() on string in /var/www/html/app/Http/Controllers/api/v1/NotificationsController.php:221
The text was updated successfully, but these errors were encountered: