kukosk / pyapns_client

Simple, flexible and fast Apple Push Notifications on iOS, OSX and Safari using the HTTP/2 Push provider API.
Other
25 stars 11 forks source link

Provide url-args key by default even if this key is empty #5

Closed IvanYukish closed 2 years ago

IvanYukish commented 2 years ago

Hey, may you provide the default value for url-args? Because when I try to send notification to apns-server I get an error that url-args key isn't passed, although it must be passed even if key is empty.

Screenshot 2021-11-17 at 00 58 41 Screenshot 2021-11-17 at 01 05 24
kukosk commented 2 years ago

Hey @IvanYukish and thank you very much for letting me know. It makes total sense, I didn't notice this value should always be present. I fixed it, did some other minor tweaks and published a new version 2.0.4 to pypi.