-
Notifications
You must be signed in to change notification settings - Fork 351
400 InvalidPushType #148
Copy link
Copy link
Closed
Description
I keep getting error 400 "InvalidPushType" from Apple's push notification service when trying to send a push with the new apns-push-type value set.
This is how I'm setting up the notification:
n := &apns2.Notification {
DeviceToken: p.DeviceToken,
Topic: topic,
CollapseID: p.CollapseID,
Payload: []byte(p.Payload),
PushType: apns2.PushTypeBackground
}
Am I doing something wrong with how I set the PushType property? Everything else is getting set correctly and pushes without this property set are getting sent just fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels