Post

Replies

Boosts

Views

Activity

Unable to obtain APNS token in xCode Swift after iOS 18 Upgrade
After upgrading to iOS 18, in my app development using xCode 16.0 (16A242d) and Swift, I am totally unable to obtain an APNS token from my own device using didRegisterForRemoteNotificationsWithDeviceToken The delegate simply won’t fire. I was able to do so repeatedly in the same app a week earlier, using iOS 17xx. That part of the code has not changed. I just now restored my phone and installed a clean version of iOS 18, but the issue has not changed. Have tried using WiFi and also cellular networks. It is a no-go.
4
0
861
Oct ’24
cPanel Version 120.0.16 Blocking Apple Push Notification (APN) service?
I am using a standard PHP script to send a push notification using a JSON web token (JWT). This works perfectly from the MacOS command line. But the same setup will not go through to the sandbox from a website on cPanel using PHP 8.3. The error is: Curl failed: Private key does not match the certificate public key There are no errors in the error logs. Any ideas?
4
0
562
Sep ’24