You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experimenting with the image property for Android notifications. I would like to display an image that does not get enlarged, as is described here in the Android Documentation -> "To make the image appear as a thumbnail only while the notification is collapsed (as shown in figure 1), call setLargeIcon() and pass it the image, but also call BigPictureStyle.bigLargeIcon() and pass it null so the large icon goes away when the notification is expanded:"
I can't find the possible values for data.style.
I am also not sure what the combination of image, picture and style will accomplish (I am running some different things) but so far, the image also expands.
The node-gcm library does not mention those fields at all (https://github.com/ToothlessGear/node-gcm#usage), in fact in one of the issues it is suggested that in order to accomplish something like what is mentioned I would have to write my own handler for it. (analogous to what you need to do for iOS if you want to show a rich push notification)
The text was updated successfully, but these errors were encountered:
Hi,
I am experimenting with the image property for Android notifications. I would like to display an image that does not get enlarged, as is described here in the Android Documentation -> "To make the image appear as a thumbnail only while the notification is collapsed (as shown in figure 1), call setLargeIcon() and pass it the image, but also call BigPictureStyle.bigLargeIcon() and pass it null so the large icon goes away when the notification is expanded:"
I can't find the possible values for data.style.
I am also not sure what the combination of image, picture and style will accomplish (I am running some different things) but so far, the image also expands.
The node-gcm library does not mention those fields at all (https://github.com/ToothlessGear/node-gcm#usage), in fact in one of the issues it is suggested that in order to accomplish something like what is mentioned I would have to write my own handler for it. (analogous to what you need to do for iOS if you want to show a rich push notification)
The text was updated successfully, but these errors were encountered: