PushNotification
PushNotification copied to clipboard
for ios get success responce but not send in device laravel 7
{ "success": 1, "failure": 0, "tokenFailList": [] }
$push = new PushNotification('apn');
$response = $push->setMessage([
'aps' => [
'alert'=> "Breaking News!",
'sound' => 'default'
]
])
->setDevicesToken(['0431e9d44cbca06e7ebcd1491ba11d5a821c94533e395a56ce9c5675b6da29e9'])
->send()
->getFeedback();
return response()->json($response);
same problem. any solution?
if i changed dry_run to true then device get notifications even though im very sure i put certificates for production in config.
try to unblock [2197] port in server
try to unblock [2197] port in server
does this solve the problem?
same issue