When there is an ongoing call, if the user gets another one, we don't want to support multi-call and directly send the new call to the voicemail. For this operation what should be CXCallEndedReason?
My understanding is that remoteEnded is used when the call connected and then ended. unanswered might be the choice for me but would it cause any issue if i directly reject a call with this status (the difference between the incoming call and reject time would be too short)? There is also declinedElsewhere , which might be suitable
Notifications
RSS for tagLearn about the technical aspects of notification delivery on device, including notification types, priorities, and notification center management.
Post
Replies
Boosts
Views
Activity
I have an app that uses CloudKit push notification (CKDatabaseSubscription) and it's been working all along on Ventura 13.5/Xcode 15.0.
But since I upgraded my Mac to Sonoma 14.3/Xcode 15.2, my app no longer receives push notification (didReceiveRemoteNotification is not called) on the Mac. Is this a known issue of either Sonoma or Xcode 15.2?
FYI, the same code works perfectly on iOS 17.2.
Hi all,
More than a iOS dev i'm first of all a support tech.
My company develops and makes available to our customers three iOS apps like one who received 3,4k reviews on the AppStore.
Since many users of our apps upgrated to iOS 17 they started complaining their iPhones are not playing a sound anymore when a push notification is received.
Thought at first glance that it was a simple issue like the new "rebound" ringing playing less lounder than the usual "tri-tones". But i ran my tests and it's a fact: our applications doesn't ring anymore when push notifications are received (while other apps like Protonmail rings well on the same set-up).
Does any of you folks faced or are facing the same issue?
Is this a setting to do on each phone? Or can it be solved by improved development (I wish it could)?
Thank you very much for reading and feel free to ask any further infos.
Kind regards,
Pierre
Even in the event of a disaster, push notifications are used to notify smartphone owners.
However, we have received requests from customers for an app that assumes that the LTE network is disconnected due to base station inconveniences during disasters, and communication from the Apple cloud cannot be considered. In that case, you would like to send push notifications to the iOS app on-premises within the customer's server, but there is a way to do that.
When device polling occurs in the link below, is there a way to determine from the requests received on the server side whether the request was device polling?
https://developer.apple.com/documentation/devicemanagement/implementing_device_management/handling_notnow_status_responses#3690890
Or can I add a specific parameter when the MDM server instructs the APNs so that the device sends the request to the MDM server with that parameter included?
If this is possible, we think we can determine if the request is a polling request.
How do you wake up an app without using push notification? I am developing a medical app which is isolated from the internet for cybersecurity/HIPAA reasons. When the iPhone is locked, I would like the app to launch, or return to the foreground, when the server notifies it that an event occurred. Is there a way implement this using Swift?
Since upgrading to iOS 17.2.1 some app notifications have been duplicated 6 times. Tried turning off the notification then restarting the device & finally turning the notifications back on for the apps but still no luck. The notifications are the same and show up at the same time. Is anyone else experiencing this?
I have implemented Web push notifications for a website built on NextJs 13 using Firebase and they are working perfectly on desktop Chrome, Safari, and Android Chrome. But on IOS after adding the website to the home screen, the user initially starts receiving notifications after 3-4 notifications even if the user does nothing and just leaves the PWA open, the user stops receiving notifications foreground and background. On further debugging, I found out that the FCM device token gets changed.
I have no idea why it is changing automatically without doing anything It happens only for IOS.
IOS version 17.3 and 16.7, Firebase version 10.7.1
Is this a bug? or if someone can guide me on this?
I'm experiencing an issue while attempting to create a provisioning profile for push notifications. But I can clearly see that the push notification service is enabled for the new provisioning profile. However it still shows error.
When is there going to be access to the ScreenTime API / ActivityKit API so that we can programmatically access Phone Pickups and Screen Time for applications?
Currently, the information is limited to getting callbacks when a threshold is hit or approached, but we don't know really anything about what the threshold is, and we cannot do that in the background.
It seems incredibly limited on scope.
Any thoughts or estimates on when this might be possible? Thank you so much!
Refer to the document:
https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/handling_notification_responses_from_apns#3394529
Error code 410, 'Unregistered' means: The device token is inactive for the specified topic.
But since February 1st, 2024, we did not got 'Unregistered' response any more. Do you know why ?
On Safari 17.3 and onwards getting this error on previous version push popup is working as expected
In my app code I used TARGET_OS_IPHONE/TARGET_OS_IOS for SDK 15 and 16.
After go on SDK 17.x these macros are not defined.
In my investigation, I found that in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/TargetConditionals.h
__is_target_environment(macabi) return false hence the issue.
Could you please verify and explain, if I do not understand / use correctly.
Regards,
Alexei
We have noticed that the notification service extension stops working after app update for some users and it only starts working again after rebooting the device.
Does anybody else have similar problem and what was the solution?
Hi, I have a UNNotificationServiceExtension, which was running perfectly fine for more than a year. Last week, it has suddenly stopped working, with no apparent changes to the server-side application sending the notification to APNS. The strange part is that it works on some devices and it doesn't work on others. I have confirmed that notifications are enabled for the app in iOS system preferences.
com.company.product is the bundle identifier of the main app
com.company.product.yyyyy is the bundle identifies of the NSE
appname.app and nse.appex are the placeholders for the name of the app and name of the NSE respectively
Following is the NSE info.plist:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>yyyy</string>
<key>CFBundleName</key>
<string>yyyy</string>
<key>CFBundleIdentifier</key>
<string>com.company.product.yyyy</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>y.y.y</string>
<key>MinimumOSVersion</key>
<string>13.0</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.usernotifications.service</string>
<key>NSExtensionPrincipalClass</key>
<string>NotificationService</string>
</dict>
<key>CFBundleVersion</key>
<string>yyy</string>
</dict>
</plist>
Model: iPhone 15 Pro Max
iOS Version: 17.3
This question is a follow-on and clarification from this earlier post.
I'd just like to confirm that after an App Transfer has been completed, whether there is any need for a new release to be cut? Judging from the prior post, my understanding is that a new release would not be necessary, and that all the existing versions of the app will continue to connect successfully with the APN servers.
The only necessary update would be the server connection between the APN servers and the server used to generate notifications, with a new token or certificate.
Is my understanding correct?
One Line Summary
window.safari.pushNotification.requestPermission() is no longer showing a prompt to the user with Safari 17.3 on macOS 14.3 and it's callback fires as "denied".
Why this is is important to fix
Starting with Safari 16 for macOS 13 Apple introduced support for the standard Push API. However it is expected that the original Safari JS API window.safari.pushNotification should continue working, as many sites have not fully upgraded to the new API and Apple has not announced a deprecation.
Environments
NOT Working
macOS 14.3 with Safari Version 17.3 (19617.2.4.11.8)
macOS 14.4 Beta (23E5191e) with Safari Version 17.4 (19618.1.13.11.5)
Working
macOS 13.6.4 with Safari Version 17.3 (18617.2.4.11.11, 18617)
MRE (minimal reproducible example)
See the following site to quickly reproduce the issue noted here:
https://public-mre-macos-window-safari-prompt-bug.glitch.me/
We are enrolled in the Apple Developer Program as an organization but still, I don't see any options to create an MDM certificate in the certification section.
Kindly guide us the steps and options to enable the same.
When enabling direct C++ interoperability in Xcode, this simple code below
NotificationCenter.default.addObserver(self,
selector: #selector(subjectAreaDidChange(_:)),
name: .AVCaptureDeviceSubjectAreaDidChange,
object: nil)
gives me the following error
Type 'NSNotification.Name?' has no member 'AVCaptureDeviceSubjectAreaDidChange'
But if I switch C++ and Objective-C interoperability to just C / Objective-C then the code compiles without errors.
The issue seems to affect NSNotification.Name constants only from AVFoundation framework (although there maybe more).
Why do I get this error and how do I fix it?
In Flutter application, Is there FCM related any changes for new iOS versions? I didn't find any solution regarding this. Working fine in android all versions and in iOS working fine till version 16.
Also verified from app setting (version 17 and above), Notification permissions enabled.
Also get success from this API - https://fcm.googleapis.com/fcm/send
response -
"multicast_id": 912044660XXXXXX, "success": 1, "failure": 0,
But not receiving any message, tried with debug and console log but there is no message/log or error message.