sbeve
sbeve
NNovu
Created by sbeve on 1/20/2024 in #💬│support
APNs ignoring overrides
Hey all! I'm not sure if this is the right place to post this but I figured I'd give it a shot. I'm currently using the APNs provider to send notifications to iOS devices. I've been testing it on my own device and it doesn't seem to be accepting overrides? I initially tried to set it up so it would use a sound that I provided. The sound worked when using the Apple Push Notification Console, but not when providing it through Novu. I also noticed that I can't send Time Sensitive notifications despite my app having the entitlement. I can provide code if needed, it currently just follows the format of:
novu.trigger("<name>", {
to: {
subscriberId: <id_variable>,
},
payload: {...},
overrides: {
apns: {
payload: {
aps: {
sound: <sound_name>,
},
},
},
},
});
novu.trigger("<name>", {
to: {
subscriberId: <id_variable>,
},
payload: {...},
overrides: {
apns: {
payload: {
aps: {
sound: <sound_name>,
},
},
},
},
});
I might just be tired and unable to figure it out? Is there any way around this? Thanks in advance!
4 replies