aioapns icon indicating copy to clipboard operation
aioapns copied to clipboard

An efficient APNs Client Library for Python/asyncio

Results 21 aioapns issues
Sort by recently updated
recently updated
newest added

Would be possible in future versions to allow the private key (`key` argument to APNs) to be a string instead of a file path, or to have a separate argument...

feature

Each unsuccessful notification is leading to a `logger.error` (here https://github.com/Fatal1ty/aioapns/blame/master/aioapns/client.py#L51). This could become noisy with many notifications being sent. We'd prefer to be able to handle these errors based on...

enhancement

You can now pass a function as `error_func` that will get called when `send_notification` fails. Example: ``` async def error_func(notification_id, response, device_token=device_token): await mark_tokens_as_invalid(device_token) return print( f'deregistering {device_token}') await apns_client.send_notification(request,...

This lib seems to have excellent type annotations. However, `mypy` does not seem to find the types when using `aioapns` in my code, as it fails with an [Missing library...

Relates to https://github.com/Fatal1ty/aioapns/issues/51

APNsKeyConnectionPool` should be using **key** instead of **key_file** https://github.com/Fatal1ty/aioapns/pull/62

APNsKeyConnectionPool incorrectly uses key_file instead of key

My server is currently failing when using aioapns when trying to push a notification to a device. This was working a few days ago, but I'm now getting `MaxAttemptsExceeded` ```...

help wanted
good first issue