Skip to content

Commit

Permalink
fix extras APNS_ASYNC -> apns-async
Browse files Browse the repository at this point in the history
  • Loading branch information
pomali committed May 23, 2024
1 parent 22dcc9f commit 7500caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Dependencies
- For WebPush (WP), pywebpush 1.3.0+ is required (optional). py-vapid 1.3.0+ is required for generating the WebPush private key; however this
step does not need to occur on the application server.
- For Apple Push (APNS), apns2 0.3+ is required (optional).
- For Apple Push (APNS_ASYNC) using async, aioapns 3.1+ is required (optional). Installed aioapns overrides apns2 which does not support python 3.10+.
- For Apple Push (apns-async) using async, aioapns 3.1+ is required (optional). Installed aioapns overrides apns2 which does not support python 3.10+.
- For FCM, firebase-admin 6.2+ is required (optional).

Setup
Expand All @@ -46,7 +46,7 @@ You can install the library directly from pypi using pip:

.. code-block:: shell
$ pip install django-push-notifications[WP,APNS_ASYNC,FCM]
$ pip install django-push-notifications[WP,apns-async,FCM]
Edit your settings.py file:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ APNS =

WP = pywebpush>=1.3.0

APNS_ASYNC = aioapns>=3.1
apns-async = aioapns>=3.1

FCM = firebase-admin>=6.2

Expand Down

0 comments on commit 7500caa

Please sign in to comment.