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
Kindly suggest, how can we send notification message to all app users instead of providing devices token?
If i do not provide device-token then system returns an error:
Fatal error: Uncaught UnexpectedValueException: message must have at least one recipient in D:\xampp\htdocs\sites\test\vendor\paragraph1\php-fcm\src\Message.php:130 Stack trace: #0 [internal function]: paragraph1\phpFCM\Message->jsonSerialize() #1 D:\xampp\htdocs\sites\test\vendor\paragraph1\php-fcm\src\Client.php(72): json_encode(Object(paragraph1\phpFCM\Message)) #2 D:\xampp\htdocs\sites\test\index.php(24): paragraph1\phpFCM\Client->send(Object(paragraph1\phpFCM\Message)) #3 {main} thrown in D:\xampp\htdocs\sites\test\vendor\paragraph1\php-fcm\src\Message.php on line 130
The text was updated successfully, but these errors were encountered:
Kindly suggest, how can we send notification message to all app users instead of providing devices token?
If i do not provide device-token then system returns an error:
Fatal error: Uncaught UnexpectedValueException: message must have at least one recipient in D:\xampp\htdocs\sites\test\vendor\paragraph1\php-fcm\src\Message.php:130 Stack trace: #0 [internal function]: paragraph1\phpFCM\Message->jsonSerialize() #1 D:\xampp\htdocs\sites\test\vendor\paragraph1\php-fcm\src\Client.php(72): json_encode(Object(paragraph1\phpFCM\Message)) #2 D:\xampp\htdocs\sites\test\index.php(24): paragraph1\phpFCM\Client->send(Object(paragraph1\phpFCM\Message)) #3 {main} thrown in D:\xampp\htdocs\sites\test\vendor\paragraph1\php-fcm\src\Message.php on line 130
The text was updated successfully, but these errors were encountered: