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
If you are planning on running your project with ``DEBUG=True``, then make sure you have set the
55
+
If you are planning on running your project with ``APNS_USE_SANDBOX=True``, then make sure you have set the
55
56
*development* certificate as your ``APNS_CERTIFICATE``. Otherwise the app will not be able to connect to the correct host. See settings_ for details.
56
57
57
58
You can learn more about APNS certificates `here <https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html>`_.
@@ -71,12 +72,8 @@ For WNS, you need both the ``WNS_PACKAGE_SECURITY_KEY`` and the ``WNS_SECRET_KEY
71
72
**APNS settings**
72
73
73
74
- ``APNS_CERTIFICATE``: Absolute path to your APNS certificate file. Certificates with passphrases are not supported.
74
-
- ``APNS_CA_CERTIFICATES``: Absolute path to a CA certificates file for APNS. Optional - do not set if not needed. Defaults to None.
75
-
- ``APNS_HOST``: The hostname used for the APNS sockets.
76
-
- When ``DEBUG=True``, this defaults to ``gateway.sandbox.push.apple.com``.
77
-
- When ``DEBUG=False``, this defaults to ``gateway.push.apple.com``.
78
-
- ``APNS_PORT``: The port used along with APNS_HOST. Defaults to 2195.
79
-
- ``APNS_ERROR_TIMEOUT``: The timeout on APNS sockets.
75
+
- ``APNS_USE_ALTERNATIVE_PORT``: Use port 2197 for APNS, instead of default port 443.
76
+
- ``APNS_USE_SANDBOX``: Use 'api.development.push.apple.com', instead of default host 'api.push.apple.com'.
80
77
81
78
**FCM/GCM settings**
82
79
@@ -206,23 +203,6 @@ Note: gcm_send_bulk_message must be used when sending messages to topic subscrib
0 commit comments