【发布时间】:2020-12-15 17:22:23
【问题描述】:
AWS Point APNS 默认设置为"mutable-content": 0。
我正在使用 Node.js。
下面的工作正常,但mutable-content 始终是0。 "mutable-content": 0:
var messageRequest = {
'Addresses': {
https://forums.aws.amazon.com/: {
'ChannelType': channelType
}
},
'MessageConfiguration': {
'APNSMessage': {
'Action': action,
'Body': message,
'Priority': priority,
'SilentPush': silent,
'Title': title,
'TimeToLive': ttl,
'Url': url,
}
}
以下是使用上述设置发送 APNS 时得到的payload
["aps": {
alert = {
body = "TEST";
title = "Test message sent from Amazon Pinpoint.";
};
"content-available" = 1;
"mutable-content" = 0;
}, "data": {
pinpoint = {
deeplink = "https://www.example.com";
};
}]
如何通过 AWS Pinpoint 为 APNS 设置 "mutable-content": 1?
【问题讨论】:
-
有同样的问题。你知道怎么做吗?
标签: amazon-web-services apple-push-notifications aws-pinpoint