Open vkorn opened 2 years ago
Greetings, it looks like pn_push is set incorrectly here https://github.com/pubnub/go/blob/master/publish_push_helper.go#L91 and should be something like response["pn_apns"]["pn_push"] = apns2.
pn_push
response["pn_apns"]["pn_push"] = apns2
Documentation backs it up https://www.pubnub.com/docs/push/ios#step-5a-constructing-apns-payloads plus a few tests we did internally.
Greetings, it looks like
pn_push
is set incorrectly here https://github.com/pubnub/go/blob/master/publish_push_helper.go#L91 and should be something likeresponse["pn_apns"]["pn_push"] = apns2
.Documentation backs it up https://www.pubnub.com/docs/push/ios#step-5a-constructing-apns-payloads plus a few tests we did internally.