|
From: | François Grisez |
Subject: | Re: Apple APN |
Date: | Wed, 15 Mar 2023 14:08:41 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 |
Hi,
Yes, the APN server address for “development” push notifications should be changed to conform with Apple specification. Yet, the current host name points on the same servers, so I don't know why that doesn't work on your side.
We will make an update to add flexisip.conf parameters to allow the administrator to change the APNS host name, with the suitable default values.
Thank you for the feedback,
Dear all, i can see that flexisip does use the following endpoints for apple Push notifications src/pushnotification/apple/apple-client.cc:std::string AppleClient::APN_DEV_ADDRESS{"api.development.push.apple.com"}; src/pushnotification/apple/apple-client.cc:std::string AppleClient::APN_PROD_ADDRESS{"api.push.apple.com"}; api.development.push.apple.com api.push.apple.com Regarding to the apple docu here: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns we have to use Development server: api.sandbox.push.apple.com:443 Production server: api.push.apple.com:443 also in our tests api.sandbox.push.apple.com did work - api.development.push.apple.com not so - why is api.development.push.apple.com in use - and not api.sandbox.push.apple.com ? br, Wolfgang
François Grisez
Software Engineer
Belledonne Communications
[Prev in Thread] | Current Thread | [Next in Thread] |