Gitisme 1 Posted March 17, 2023 Hi My app successfully receives a token from: PushService := TPushServiceManager.Instance.GetServiceByName(TPushService.TServiceNames.APS); But when sending a notification to that token, I do not get a notification. All i can find about remote notifications for Delphi 11.3 is Firebase sdk implementations. Are we not able to use Apple push services anymore? Thank you, Share this post Link to post
Dave Nottage 577 Posted March 17, 2023 55 minutes ago, Gitisme said: Are we not able to use Apple push services anymore? You can use Apple Push Services, but it's for iOS only. 56 minutes ago, Gitisme said: But when sending a notification to that token, I do not get a notification. You don't give any details about how you're sending it, or what you are sending. Are you following the documentation, here? https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns?language=objc Also, have you enabled Push Notifications for the App ID that is used in the Provisioning Profile for the application? Please refer to: https://blog.grijjy.com/2017/01/31/receiving-push-notifications-from-apples-push-notification-and-googles-firebase-cloud-messaging-services/ Share this post Link to post
Gitisme 1 Posted March 18, 2023 Thank you for the feedback. I did not realize that Apple changed their push notification process that much, as I have been disconnected from it for a long time 😄 Problem on my server side was: I did not use a jwt. All sorted now 🙂 1 Share this post Link to post
Beppe Magistro 2 Posted February 7 hi all , there is a Server Side delphi example projet to send Apple push notification using tokens? Thanks in advance Beppe Share this post Link to post
Dave Nottage 577 Posted February 7 4 minutes ago, Beppe Magistro said: there is a Server Side delphi example projet to send Apple push notification using tokens? Just Apple? There's this demo I put together a while ago - all it does is creates a message and performs the push. Make sure you read the readme at that link. Share this post Link to post
Beppe Magistro 2 Posted February 7 thank you very much !!! i will try asap 1 Share this post Link to post
Beppe Magistro 2 Posted February 7 hi Dave, I tried to build th example following the readme , but i have this errors. it's Delphi 12.2 Thanks in advance Beppe Share this post Link to post