djacobs / PyAPNs

Python library for interacting with the Apple Push Notification service (APNs)
http://pypi.python.org/pypi/apns/
MIT License
1.22k stars 374 forks source link

Push token with capital letters - failed #141

Open yeleleo opened 8 years ago

yeleleo commented 8 years ago

Adding passbook to the new iOS9 Wallet app we having token as: API91bFHx7QXJOUMJXd6F3N78ZTiYFSXvCuw5dNxGUiwmVkPrJlUfZBMJMq7zqj_ so consists with capital letters and extra chars.

Sending push to it lib fails with a error: non hexadecimal digit found

Exception Value:
Non-hexadecimal digit found Exception Location: /usr/local/lib/python2.7/dist-packages/apns.py in _get_notification, line 496

hitrain commented 8 years ago

I have the same problem

adriansoghoian commented 7 years ago

Hello,

Any update on this? I'm running into this now with iOS10.