Skip to content

Commit

Permalink
Merge branch 'feat-location-pushes'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Alok committed Jan 11, 2022
2 parents 79171c8 + b3567d2 commit 285192b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dotAPNS/ApnsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ string GetTopic(ApplePushType pushType)
break;
case ApplePushType.Voip:
return _bundleId + ".voip";
case ApplePushType.Location:
return _bundleId + ".location-query";
case ApplePushType.Unknown:
default:
throw new ArgumentOutOfRangeException(nameof(pushType), pushType, null);
Expand Down
3 changes: 2 additions & 1 deletion dotAPNS/ApplePushType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ public enum ApplePushType
Unknown,
Alert,
Background,
Voip
Voip,
Location
}
}

0 comments on commit 285192b

Please sign in to comment.