Skip to content

MissingTopic #170

Description

@noeurphireak

$push = new PushNotification('apn');
$apn = $push->setConfig(['topic' => 'com.example.walletapp.io']);

$response = $apn->setMessage(['aps' => []])
->setDevicesToken($device)
->send()
->getFeedback();

return response()->json($response);

The response
{
"success": false,
"error": "",
"results": [
{
"status": 400,
"headers": "HTTP/2 400 \r\napns-id: 9D3220FE-444B-633E-D1F1-5D0DCB4F537A",
"body": "{"reason":"MissingTopic"}",
"token": device_token_goes_here
}
]
}

did i miss any configurations for apn ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions