for ios get success responce but not send in device laravel 7
darshantank1995 opened this issue · 4 comments
darshantank1995 commented
{
"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);
mamomia commented
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.
darshantank1995 commented
try to unblock [2197] port in server
daniellaurel commented
try to unblock [2197] port in server
does this solve the problem?
nikulvnnovate7 commented
same issue