Closed pognibene closed 1 year ago
I don't know. The generator generates according to the spec. Maybe it changed in the mean time. The +YYYY-MM-DD
suffix of the crate reveals the time stamp of the spec that was used.
That said, I wouldn't bet on this not being a generation bug either. As workaround, you could consider vendoring the crate and adding the type that's needed here yourself.
@Byron I guess this may be closed now, as should be fixed by #404.
Thanks for the hint! Done.
Hi, In the generated code, ApnsConfig::payload is an Option<HashMap<String, String>>. However, according to Apple/fcm specs, this is the payload we should send:
I can't find a way to generate the proper apns payload with a String value. Is this a generation bug, or I overlooked a way to achieve the desired result? Thank you for your help!