Skip to content

Commit cd7205e

Browse files
lz1irqsideshow
authored andcommitted
Add "voip" push type (#150)
1 parent ebc6b40 commit cd7205e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

notification.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const (
1313
PushTypeAlert EPushType = "alert"
1414
//PushTypeBackground will set the apns-push-type header to 'background'
1515
PushTypeBackground EPushType = "background"
16+
//PushTypeVoIP will set the apns-push-type header to 'voip' which is required
17+
// for PushKit applications.
18+
PushTypeVoIP EPushType = "voip"
1619
)
1720

1821
const (

0 commit comments

Comments
 (0)