Tushar Deo
Tushar Deo
Any updates?
@enniel It has a comma separated list of tokens. Any info if you have to sent notification to n devices of a single user?
``` public function routeNotificationForFcm() { $tokens = implode(",", PushToken::where('user_id', $this->id)->pluck('token')->toArray()); return $tokens; } ``` Notification File: ```
Sadly, that didn't help either. ``` [2017-05-17 19:29:36] local.ERROR: exception 'NotificationChannels\FCM\Exceptions\CouldNotSendNotification' with message 'Notification was not sent. You should specify device token(s), topic(s) or group(s) for sending notification.' in //vendor/enniel/laravel-fcm-notification-channel/src/Exceptions/CouldNotSendNotification.php:14...
Tried w/ both. Didn't work. Still the same.

This is so weird. Only two things different is queue able and that try catch block.
Its mostly the same as you have. However, I'm initiating the notification in model boot function. ``` class Classroom extends Model { use BelongsToTenants; /** * The attributes that are...