Closed boreq closed 1 year ago
I see multiple notifications here:
/events/2cebfe8dc9ceded972955aed47f3ca5f38cf5eff15269f9948aac9c3e3a17385/notifications
We changed the environment to PRODUCTION
, this could have been the cause behind not delivering notifications but I don't have full confidence that this was the actual problem. The notifications should still work when launching from xcode be that on real device or the sim if that setting is set to DEVELOPMENT
.
New event to investigate:
note1ah6quy6ns2yttl2lye6kck8zs7pv262vleqaw794e8l0tluttrtsugww0e
edf40e13538288b5fd5f26756c58e28782c5694cfe41d778b5c9fef5ff8b58d7
Ok we did two things to make this work:
n.Priority = apns2.PriorityLow
(priority 5
as docs require)n.PushType = apns2.PushTypeBackground
(as docs actually tell you to do but it was not clear to me that it won't just happen automatically initially)Unclear if both fixes were required or just the second fix was enough but after those two changes notifications are being delivered.
The event id for which a notification should have been received is
note19n4larwfem0dju54ttk50u72tuuv7hhlz5nflx2g4tyu8capwwzsne95rw
.