Closed marekpridal closed 2 years ago
Having the same issue. @marekpridal, can you share the code for the workaround? Can't get it working.
Hmm this seems to be working for me, would love to see the raw payload so I can make changes for an interface if necesary
let payload = APNSPayload(hasContentAvailable: true)
let acme = AcmeNotification(acme1: "hey", acme2: 2, aps: payload)
try! await req.apns.client.send(acme, pushType: .background, to: dt, priority: 5)
here's the code that worked for me. Going to close this issue, but please re-open if its still an issue for you
This issue was originally reported in Vapor project but based on discussion it should be probably resolved inside this repo. There is a workaround which requires creating payload from raw data.