diff --git a/docs/index.md b/docs/index.md index 9e9a3d2d..e0635d7a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -66,7 +66,7 @@ is in the request body. Here's an example showing how to publish a simple messag This will create a notification that looks like this:
- ![basic notification](static/img/basic-notification.png){ width=500 } + ![basic notification](static/img/android-screenshot-basic-notification.png){ width=500 }
Android notification
@@ -76,7 +76,7 @@ That's it. You're all set. Go play and read the rest of the docs. I highly recom Here's another video showing the entire process:
- +
Sending push notifications to your Android phone
diff --git a/docs/publish.md b/docs/publish.md index 0e4a04d1..5b2c9ae6 100644 --- a/docs/publish.md +++ b/docs/publish.md @@ -44,7 +44,7 @@ Here's an example showing how to publish a simple message using a POST request: If you have the [Android app](subscribe/phone.md) installed on your phone, this will create a notification that looks like this:
- ![basic notification](static/img/basic-notification.png){ width=500 } + ![basic notification](static/img/android-screenshot-basic-notification.png){ width=500 }
Android notification
diff --git a/docs/static/img/android-notification-settings.png b/docs/static/img/android-notification-settings.png index ce66408c..25bed4f2 100644 Binary files a/docs/static/img/android-notification-settings.png and b/docs/static/img/android-notification-settings.png differ diff --git a/docs/static/img/android-screenshot-add-instant.jpg b/docs/static/img/android-screenshot-add-instant.jpg deleted file mode 100644 index 51846efa..00000000 Binary files a/docs/static/img/android-screenshot-add-instant.jpg and /dev/null differ diff --git a/docs/static/img/android-screenshot-add-instant.png b/docs/static/img/android-screenshot-add-instant.png new file mode 100644 index 00000000..3c6c58c5 Binary files /dev/null and b/docs/static/img/android-screenshot-add-instant.png differ diff --git a/docs/static/img/android-screenshot-add-other.jpg b/docs/static/img/android-screenshot-add-other.jpg deleted file mode 100644 index 004d559c..00000000 Binary files a/docs/static/img/android-screenshot-add-other.jpg and /dev/null differ diff --git a/docs/static/img/android-screenshot-add-other.png b/docs/static/img/android-screenshot-add-other.png new file mode 100644 index 00000000..cd4a43b7 Binary files /dev/null and b/docs/static/img/android-screenshot-add-other.png differ diff --git a/docs/static/img/android-screenshot-add.jpg b/docs/static/img/android-screenshot-add.jpg deleted file mode 100644 index 7fed362d..00000000 Binary files a/docs/static/img/android-screenshot-add.jpg and /dev/null differ diff --git a/docs/static/img/android-screenshot-add.png b/docs/static/img/android-screenshot-add.png new file mode 100644 index 00000000..c85b1faa Binary files /dev/null and b/docs/static/img/android-screenshot-add.png differ diff --git a/docs/static/img/basic-notification.png b/docs/static/img/android-screenshot-basic-notification.png similarity index 100% rename from docs/static/img/basic-notification.png rename to docs/static/img/android-screenshot-basic-notification.png diff --git a/docs/static/img/android-screenshot-detail.jpg b/docs/static/img/android-screenshot-detail.jpg deleted file mode 100644 index c15dfa6e..00000000 Binary files a/docs/static/img/android-screenshot-detail.jpg and /dev/null differ diff --git a/docs/static/img/android-screenshot-detail.png b/docs/static/img/android-screenshot-detail.png new file mode 100644 index 00000000..bbb924c1 Binary files /dev/null and b/docs/static/img/android-screenshot-detail.png differ diff --git a/docs/static/img/android-screenshot-macrodroid-send-action.jpg b/docs/static/img/android-screenshot-macrodroid-send-action.jpg new file mode 100644 index 00000000..3a59da66 Binary files /dev/null and b/docs/static/img/android-screenshot-macrodroid-send-action.jpg differ diff --git a/docs/static/img/android-screenshot-macrodroid-send-macro.jpg b/docs/static/img/android-screenshot-macrodroid-send-macro.jpg new file mode 100644 index 00000000..2aca87b2 Binary files /dev/null and b/docs/static/img/android-screenshot-macrodroid-send-macro.jpg differ diff --git a/docs/static/img/android-screenshot-main.jpg b/docs/static/img/android-screenshot-main.jpg deleted file mode 100644 index 3b82fd85..00000000 Binary files a/docs/static/img/android-screenshot-main.jpg and /dev/null differ diff --git a/docs/static/img/android-screenshot-main.png b/docs/static/img/android-screenshot-main.png new file mode 100644 index 00000000..3fdbcb9d Binary files /dev/null and b/docs/static/img/android-screenshot-main.png differ diff --git a/docs/static/img/android-screenshot-pause.jpg b/docs/static/img/android-screenshot-pause.jpg deleted file mode 100644 index dc3ce74b..00000000 Binary files a/docs/static/img/android-screenshot-pause.jpg and /dev/null differ diff --git a/docs/static/img/android-screenshot-pause.png b/docs/static/img/android-screenshot-pause.png new file mode 100644 index 00000000..270f3c53 Binary files /dev/null and b/docs/static/img/android-screenshot-pause.png differ diff --git a/docs/static/img/android-screenshot-tasker-action-http-post.jpg b/docs/static/img/android-screenshot-tasker-action-http-post.jpg new file mode 100644 index 00000000..a952a0ca Binary files /dev/null and b/docs/static/img/android-screenshot-tasker-action-http-post.jpg differ diff --git a/docs/static/img/android-screenshot-tasker-profile-send.jpg b/docs/static/img/android-screenshot-tasker-profile-send.jpg new file mode 100644 index 00000000..7ab011ec Binary files /dev/null and b/docs/static/img/android-screenshot-tasker-profile-send.jpg differ diff --git a/docs/static/img/android-screenshot-tasker-task-edit-post.jpg b/docs/static/img/android-screenshot-tasker-task-edit-post.jpg new file mode 100644 index 00000000..efb6d008 Binary files /dev/null and b/docs/static/img/android-screenshot-tasker-task-edit-post.jpg differ diff --git a/docs/static/img/overview.gif b/docs/static/img/overview.gif deleted file mode 100644 index b925502a..00000000 Binary files a/docs/static/img/overview.gif and /dev/null differ diff --git a/docs/static/img/overview.mp4 b/docs/static/img/overview.mp4 deleted file mode 100644 index cf295099..00000000 Binary files a/docs/static/img/overview.mp4 and /dev/null differ diff --git a/docs/subscribe/phone.md b/docs/subscribe/phone.md index 48cbb2ab..0d9e0d0c 100644 --- a/docs/subscribe/phone.md +++ b/docs/subscribe/phone.md @@ -15,17 +15,18 @@ A picture is worth a thousand words. Here are a few screenshots showing what the straight forward. You can add topics and as soon as you add them, you can [publish messages](../publish.md) to them.
- - - - - + + + + + +
If those screenshots are still not enough, here's a video:
- +
Sending push notifications to your Android phone
@@ -129,14 +130,19 @@ Here's a list of extras you can access. Most likely, you'll want to filter for ` ### Send messages using intents To send messages from other apps (such as [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid) and [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm)), you can -broadcast an intent with the `io.heckel.ntfy.SEND_MESSAGE` action. In Tasker, you can alternatively use the "HTTP Request" -action, which may be a little easier and also works if ntfy is not installed. +broadcast an intent with the `io.heckel.ntfy.SEND_MESSAGE` action. The ntfy Android app will forward the intent as a HTTP +POST request to [publish a message](../publish.md). This is primarily useful for apps that do not support HTTP POST/PUT +(like MacroDroid). In Tasker, you can simply use the "HTTP Request" action, which is a little easier and also works if +ntfy is not installed. Here's what that looks like:
- - + + + + +
The following intent extras are supported when for the intent with the `io.heckel.ntfy.SEND_MESSAGE` action: