summaryrefslogtreecommitdiff
path: root/watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-01-04 04:04:03 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-01-04 04:04:03 +0300
commitbb32e56ca28bb43d5d5afef737f25e4725887725 (patch)
tree519388eb284adeb47744a9ebc334bdf9ff5444a6 /watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns
parentd549f428cbbd54c49a90f92928e670d373c4a0d9 (diff)
move watchos app sources here (which should be rewritten anyway, and usable only in very specific conditions)
Diffstat (limited to 'watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns')
-rw-r--r--watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns20
1 files changed, 20 insertions, 0 deletions
diff --git a/watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns b/watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns
new file mode 100644
index 0000000..c18b00a
--- /dev/null
+++ b/watchos/InfiniSolar/InfiniSolar WatchKit Extension/PushNotificationPayload.apns
@@ -0,0 +1,20 @@
+{
+ "aps": {
+ "alert": {
+ "body": "Test message",
+ "title": "Optional title",
+ "subtitle": "Optional subtitle"
+ },
+ "category": "myCategory",
+ "thread-id": "5280"
+ },
+
+ "WatchKit Simulator Actions": [
+ {
+ "title": "First Button",
+ "identifier": "firstButtonAction"
+ }
+ ],
+
+ "customKey": "Use this file to define a testing payload for your notifications. The aps dictionary specifies the category, alert text and title. The WatchKit Simulator Actions array can provide info for one or more action buttons in addition to the standard Dismiss button. Any other top level keys are custom payload. If you have multiple such JSON files in your project, you'll be able to select them when choosing to debug the notification interface of your Watch App."
+}