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

TypeError: __init__() got an unexpected keyword argument 'auth_key_path' #12

Open Melihgzl opened 1 year ago

Melihgzl commented 1 year ago

Getting TypeError: init() got an unexpected keyword argument 'auth_key_path' error with p8 path.

And path is

client = APNSClient(mode=APNSClient.MODE_DEV, root_cert_path='None', auth_key_path='/cert/AuthKey.p8', auth_key_id='XXXXXX', team_id='XXXXX')