From d7654dc58cbbf75628ede7acae2a049369a64d6b Mon Sep 17 00:00:00 2001 From: sideshow Date: Sun, 1 Dec 2019 16:32:19 +1300 Subject: [PATCH] Add note about production/ad-hoc --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0d559493..f1d4def0 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,10 @@ func main() { notification.Topic = "com.sideshow.Apns2" notification.Payload = []byte(`{"aps":{"alert":"Hello!"}}`) // See Payload section below - /* - * If you want to test the push notification for the builds running directly from the XCode (Development), Use - * client := apns2.NewClient(cert).Development() - */ + // If you want to test push notifications for builds running directly from XCode (Development), use + // client := apns2.NewClient(cert).Development() + // For apps published to the app store or installed as an ad-hoc distribution use Production() + client := apns2.NewClient(cert).Production() res, err := client.Push(notification)