I'm having difficulty sending a push notification to an iOS device containing the key 'content-available' within the aps dictionary, as documented on Table 3-1 here.
protected $contentAvailable;
public function setContentAvailable($value) {
$this->contentAvailable = $value;
}
public function getContentAvailable() {
return $this->contentAvailable;
}
I am using this library via the laravel-push-notification package.
I'm having difficulty sending a push notification to an iOS device containing the key 'content-available' within the aps dictionary, as documented on Table 3-1 here.
It looks like the cause is in the ZendService\Apple\Apns\Message\Alert class.
Is it just a case of adding the following:
If so, happy to submit a PR for this.
Cheers