Open tristangodfrey opened 8 years ago
+1
@asafl Have you found a solution yet?
I think APNS directly didn't get the response, you need to use feedback
I think @pavankumarkatakam is right... I don't have a better answer :)
@pavankumarkatakam So I should try getFeedback
instead of getResponse
?
@asafl What is your approach for troubleshooting this? I'm currently logging like this:
Log::info("Response #".$key.": " . var_dump($response));
Log::info("Feedback #".$key.": " . var_dump($feedback));
But all I get is empty variables, does this mean anything? I'm on Laravel 4.2 btw and probably and older version of this package too
+1
getFeedback()
only return the error tokens, it means you can delete that token from DB And not send to those device.
I've been struggling with this issue for quite a while now, and I'm sure my issue is probably quite trivial. I just can't figure out what it is.
I'm trying to send notifications to device tokens, and I'm logging the response like so:
This always outputs the following:
If I understand correctly
$response
would correspond to the APNS response status code:1 - Processing error
.Can anyone give me a push in the right direction for figuring out what might be going wrong here?