You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apns2 is used for communicating with Apple for push notifications (APN). It depends on hyper, which is unmaintained (see here: Pr0Ger/PyAPNs2#126 (comment)).
The problem:
apns2 uses an old version of py-jwt for this communication and is also sort of unmaintained. For example djangorestframework-simplejwt (and probably other packages) use a newer version of py-jwt.
Change dependency from apns2 to aioapns, since the latter seems to be the better maintained package ( see Pr0Ger/PyAPNs2#126 (comment), from @erwan-lemmonier )
What do you think?
The text was updated successfully, but these errors were encountered:
Are you able to retrieve the registration ID with aioapns? I am really struggling to retrieve the id of ios devices, keep getting bad device token and cant see the id at all.
The history:
apns2 is used for communicating with Apple for push notifications (APN). It depends on hyper, which is unmaintained (see here: Pr0Ger/PyAPNs2#126 (comment)).
The problem:
apns2 uses an old version of py-jwt for this communication and is also sort of unmaintained. For example djangorestframework-simplejwt (and probably other packages) use a newer version of py-jwt.
A half-baked solution:
Install apns2 manually from master (pip install --upgrade git+https://github.com/pr0Ger/PyAPNs2.git@5e4a938)
A better solution/proposal:
Change dependency from apns2 to aioapns, since the latter seems to be the better maintained package ( see Pr0Ger/PyAPNs2#126 (comment), from @erwan-lemmonier )
What do you think?
The text was updated successfully, but these errors were encountered: