add comment for ios payload.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
d51c3b475b
commit
0468f4cff0
|
@ -102,6 +102,8 @@ func pushNotification(notification RequestPushNotification) bool {
|
|||
|
||||
func pushNotificationIos(req RequestPushNotification) bool {
|
||||
|
||||
// The Remote Notification Payload
|
||||
// https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/TheNotificationPayload.html
|
||||
for _, token := range req.Tokens {
|
||||
notification := &apns.Notification{}
|
||||
notification.DeviceToken = token
|
||||
|
|
Loading…
Reference in New Issue