Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Response null when sending an Android push notification #158

Open
dbuton opened this issue Mar 7, 2017 · 0 comments
Open

Response null when sending an Android push notification #158

dbuton opened this issue Mar 7, 2017 · 0 comments

Comments

@dbuton
Copy link

dbuton commented Mar 7, 2017

I have a problem, when I curl a push notification, it's working but when I try with the bundle, it fails because the message response is equals to NULL.

I'm testing with postman and Post request.

Someone have an idea please?


$androidMessage = new AndroidMessage();
$androidMessage->setMessage($message);
$androidMessage->setDeviceIdentifier($device->getUuid());
$androidMessage->setFCM(true);

$this->notification->send($androidMessage);

This is the response :

object(Buzz\Message\Response)#2513 (5) {
  ["protocolVersion":"Buzz\Message\Response":private]=>
  NULL
  ["statusCode":"Buzz\Message\Response":private]=>
  NULL
  ["reasonPhrase":"Buzz\Message\Response":private]=>
  NULL
  ["headers":"Buzz\Message\AbstractMessage":private]=>
  array(0) {
  }
  ["content":"Buzz\Message\AbstractMessage":private]=>
  NULL
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant