I have googled the heck out of this one and searched the AWS docs, but still can't find the answer.
Where do I define the push notification icon image for AWS SNS Service for GCM Android?
Here is an example that works in PHP;
'GCM' => json_encode(
[
'priority' => 'high',
'data' =>
[
'message' => "Some message here",
'largeIcon' => 'ic_notification',
'smallIcon' => 'ic_foreground',
'color' => '#30AAFD',
]
])
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.