Hello,
I have implemented Urban airship SDK for handling push notification. Using This Urban airship Implementation Guide.
"http://docs.urbanairship.com/platform/ios.html"
But am Unable to show Images on notification.
Here is the payload which am getting from Server.
{
"_" = "channel_id";
aps = {
alert = {
body = testing;
title = "Boys and Girls club of Boston";
};
"mutable-content" = 1;
};
"com.urbanairship.media_attachment" = {
options = {
crop = {
height = "0.2";
width = "0.2";
x = "0.1";
y = "0.1";
};
time = 10;
};
url = (
"http://ladgbucket.s3.amazonaws.com/dev/users/1484421361file.jpeg"
);
};
"post_id" = 1;
"post_type" = news;
url = "http://ladgbucket.s3.amazonaws.com/dev/users/1484421361file.jpeg";
}
Comments
37 comments