I am sorry for this question, i am new to parse and js, i want to make my pushes available with images for iOS 10 but looks like i do something wrong with setting params, please help:
Parse.Push.send({
where: pushQuery, // Set our Installation query
data: {
alert: alertMessage,
sound: "default",
"content-available": 1,
"mutable-content": 1,
"image": "https://hsto.org/files/ff5/03e/e6b/ff503ee6b45d46ffb092aac33f2f282b.gif"
}
}, {
useMasterKey: true,
success: function () {
response.success("Push sent to everyone with image!");
},
error: function (error) {
response.error("Error sending push: " + error);
}
});
I am sorry for this question, i am new to parse and js, i want to make my pushes available with images for iOS 10 but looks like i do something wrong with setting params, please help:
and i getting this on device :
is not "mutable-content" = 1; must be in scope of aps ? If it is, what i doing wrong ?