From dfbbace7a35265f1b5b8eeb953853cfc585bb047 Mon Sep 17 00:00:00 2001 From: alexb4a <120390853+alexb4a@users.noreply.github.com> Date: Wed, 15 May 2024 18:23:02 -0300 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 51c18bc..fe30736 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # WatchOsPushNotification A sample application to receive Push Notifications on WatchOS devices (Apple Watch) using the ParseSwift SDK + +# Don't forget to get: +- Your App's Bundle ID (case sensitive, from XCode) +- Your Team ID (from https://developer.apple.com on the top right section, under your username, a 10 characters String) +- Your Key ID (From your certificate download page or from the name of the downloaded file such as: AuthKey_ABCDEFGHIJ.p8 , where ABCDEFGHIJ is the Key ID) +- Upload your certificate as Development + +# Here's how to test it: +- Send a message from the Dashboard -> More -> Push +- Send a message from code: + +``` +Parse.Push.send( + { + where: {}, + data: { + alert: "GCM", + badge: 123, + title: 'Test title' + } + }, + { useMasterKey: true }, + ); +```