Call to undefined method Illuminate\Database\Query\Builder::routeNotificationForFcm()
Closed this issue · 2 comments
mkantautas commented
Or as I understand this package doesn't support 5.5 ?
wammy21 commented
Hi, on your notifiable implement routeNotificationForFcm():
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
class User extends Model {
use Notifiable;
public function routeNotificationForFcm() {
//return a device token, either from the model or from some other place.
return $this->device_token;
}
}
douglasresendemaciel commented
tks man, I will put this in the queue for the next release