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

Setting version for pyjwt #1

Closed rissicay closed 3 years ago

rissicay commented 3 years ago

Spend a few hours debugging why I was constantly getting InvalidProviderToken error. Eventually narrowed it down to my version of PyJWT, version 1.7.1 had installed. Putting this pull request up to hopefully save other devs some time

kukosk commented 3 years ago

Hey @rissicay and thank you very much for the PR! Do you by any chance know the lowest version which should work with the APNS servers? I would prefer setting it to >=x.x.x with the exact minimum version that's required.

kukosk commented 3 years ago

Thank you very much @rissicay for opening this PR. I've updated it to >=2 as I'm sure it works with that version.