timehop / apns

A Go package to interface with the Apple Push Notification Service
https://godoc.org/github.com/timehop/apns
MIT License
185 stars 47 forks source link

Adding support for custom keys #43

Closed exklamationmark closed 9 years ago

exklamationmark commented 9 years ago

Hi,

It's really nice to find a package that offer persistent connection to APNS server. We are trying to get this into our notification system.

We have 1 extra need, which is sending extra keys in the notification body. It's similar to the added acme2 key in this example.

Do you think this would be a good fit? I am already working on it at in viki-org/apns, based on your master branch.

Our ticket

exklamationmark commented 9 years ago

Hmm, I have missed the SetCustomValue method of Notification struct