laravel-notification-channels / onesignal

OneSignal notifications channel for Laravel
MIT License
283 stars 119 forks source link

Notification Send without errors, but in onesignal dashboard nothing #95

Closed floinay closed 5 years ago

floinay commented 5 years ago

public function toOneSignal($notifiable) { return OneSignalMessage::create() ->subject($this->pushNotification()->subject) ->body($this->pushNotification()->body) ->setData('notification_id', $this->id); }

floinay commented 5 years ago

public function via(User $notifiable) { $via = ['database']; $via[] = OneSignalChannel::class;

    return $via;
}

in user.php

public function routeNotificationForOneSignal() { return $this->getDevicesArray(); }

LKaemmerling commented 5 years ago

Please contact the OneSignal Support in this case.

floinay commented 5 years ago

the problem resolved itself, notifications began to come, thanks