binwiederhier / ntfy

Send push notifications to your phone or desktop using PUT/POST
https://ntfy.sh
Apache License 2.0
17.65k stars 684 forks source link

Setting Icon in Headers (IOS) #1107

Open cyschneck opened 3 months ago

cyschneck commented 3 months ago

:lady_beetle: Describe the bug Is the Icon option in headers meant to fill the green icon on the left? IMG_6795

:computer: Components impacted

IOS app

:bulb: Screenshots and/or logs Currently, I have the link for the square image set to icon_img icon_img = "https://inaturalist-open-data.s3.amazonaws.com/photos/24939293/square.jpg" square

requests.post(f"https://ntfy.sh/{ntfy_id}",
            data="This is a test",
            headers = {
                "Title": "New Notification!",
                "Icon":icon_img})

But the green icon doesn't appear to be set by Icon

:crystal_ball: Additional context

Notifications sent through Github Actions

MindTooth commented 3 months ago

From what I gather, it's not supported.

https://docs.ntfy.sh/publish/#icons

cyschneck commented 3 months ago

That's alright, what is the purpose of the icon variable then?

wunter8 commented 3 months ago

It's only supported on Android right now

cyschneck commented 3 months ago

Are there plans for IOS/iPhone in the future?

wunter8 commented 3 months ago

Plans, yes. But no estimated timeline. We don't have any iOS devs to work on the app right now. If you know anyone willing to help out, send them our way!