I'm currently working on a REST API wrapper around APNs. I've been trying to figure out how to handle the FailedNotifs channel, but I'm finding it difficult to send a request that causes an error.
I've tried fiddling around in ToBinary to send an invalid notification, but it ends up with an err.Identifier that doesn't match the notification identifier (err.Identifier just binary gibberish).
I'm wondering how you use FailedNotifs in production? Any suggestions?
I'm currently working on a REST API wrapper around APNs. I've been trying to figure out how to handle the FailedNotifs channel, but I'm finding it difficult to send a request that causes an error.
I've tried fiddling around in ToBinary to send an invalid notification, but it ends up with an
err.Identifier
that doesn't match the notification identifier (err.Identifier just binary gibberish).I'm wondering how you use FailedNotifs in production? Any suggestions?