Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsravel 5.2 need help! #89

Closed
bearn777 opened this issue Dec 29, 2015 · 1 comment
Closed

lsravel 5.2 need help! #89

bearn777 opened this issue Dec 29, 2015 · 1 comment

Comments

@bearn777
Copy link

Unable to enable crypto on TCP connection gcm-http.googleapis.com: make sure the "sslcafile" or "sslcapath" option are properly set for the environment.

@bearn777
Copy link
Author

has solved!
$collection = PushNotification::app('findOwnerAndroid')
->to($server->deviceToken);

//it was need to set 'sslverifypeer' parameter to false
$collection->adapter->setAdapterParameters(['sslverifypeer' => false]);

$collection->send($message);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant