-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Documentation issue of Android pictures push #1028
Comments
@slorber I'll double check the payload for big picture, I think I may need to update the screen shot. And I'll write up some notes on the affect of picture size and download failure. |
Could we use links to images using |
@fredgalvao then I'd have to find an image host and I'm so lazy. |
thanks @macdonst |
@slorber I just added a note to the doc. When expanded you see the title, summary text and picture. When not expanded you see the title and body. |
thanks! Will try to check that on a phone soon |
This thread has been automatically locked. |
Hi,
Great picture option :)
Just a few details seems unclear to me in doc.
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#picture-messages
The doc payload uses both title/message/summaryText, but it seems in the doc screenshot, the message param is simply ignored.
For me there's something not clear here, and it seems different from what happens with inbox stacking (as 3 fields get displayed).
According to current doc, I don't really understand, should I set message, or summaryText, or both (using the same value?) because in the screenshot in the end it seems only one get displayed.
Maybe there's an error in doc or something I'm missing?
Also I would have liked a little explaination on the impact of picture size of the performances.
According to source code it seems that it's the plugin Android code that downloads the image synchronously to display the push:
getBitmapFromURL
could take a long time according to the image size, so it's worth mentionning that the push delivery time is affected by the size of the push picture to download, and that a download failure will result in a push message without pictureThanks
The text was updated successfully, but these errors were encountered: