iOS devices were only receiving the alert body. The alert title was not showing up. This is the payload I tested with.
const result = await Parse.Push.send(
{
where: pushQuery,
// WORKS FOR ANDROID
notification: {
title: 'Android title',
body: 'Android notification body',
},
sound: 'default',
// WORKS FOR IOS
data: {
// alert: { title: 'iOS data alert title', body: 'iOS data alert body' }, // <-- this works, avoids the bug in the adapter code, and sets both title+body
title: 'iOS data title',
alert: 'iOS data alert', // <-- will overwrite the title key
priority: '10',
collapse_id: '1',
},
},
{
useMasterKey: true,
}
)
New Issue Checklist
Issue Description
iOS devices were only receiving the alert body. The alert title was not showing up. This is the payload I tested with.
Steps to reproduce
Actual Outcome
Expected Outcome
Environment
"@parse/push-adapter": "^6.5.0""parse-server": "~7.2.0"Logs