davibennun / laravel-push-notification

Laravel package to enable sending push notifications to devices
1.23k stars 260 forks source link

AdapterException in Apns.php line 57: Certificate /path/to/certificate.pem does not exist #164

Open svs22121990 opened 7 years ago

svs22121990 commented 7 years ago

I am using Laravel 5.2 to sent push notifications to my IOS app using davibennun/laravel-push-notification package

I get below error when I try to sent a push notification

AdapterException in Apns.php line 57: Certificate /path/to/certificate.pem does not exist

I have given absolute path to certificate. But, it doesn't work

'appNameIOS' => array( 'environment' =>'development', 'certificate' => app_path().'/Certificates_d.pem', 'passPhrase' =>'password', 'service' =>'apns' ) ,

Can anyone please help resolve this issue. Thanks!