diff --git a/pushy/src/main/java/com/eatthepath/pushy/apns/PushType.java b/pushy/src/main/java/com/eatthepath/pushy/apns/PushType.java index 76f0bcfc9..422770cfd 100644 --- a/pushy/src/main/java/com/eatthepath/pushy/apns/PushType.java +++ b/pushy/src/main/java/com/eatthepath/pushy/apns/PushType.java @@ -113,7 +113,19 @@ public enum PushType { * * @since 0.13.10 */ - MDM("mdm"); + MDM("mdm"), + + /** + *

Indicates that a push notification is intended to request a location from the receiving device to contact the issuers + * server. According to Apple's documentation:

+ * + *
Use the {@code location} push type for notifications that request a user’s location. + * If you set this push type, the apns-topic header field must use your app’s bundle ID with .location-query + * appended to the end
+ * + * @since 0.15.1 + */ + LOCATION("location"); private final String headerValue;