Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Clarification about ANCS being unavailable

Hello,

I am working on a project that involves using external device to connect over BLE with users iPhone. I would like to be able to notify users on our device about eg. incoming calls, messages etc. I have been succesfull in using ANCS to achieve that but I am a little worried around consistency of this solution, especially taking into account following line from documentation:

Due to the nature of iOS, the ANCS is not guaranteed to always be present. As a result, the NC should look for and subscribe to the Service Changed characteristic of the GATT service in order to monitor for the potential publishing and unpublishing of the ANCS at any time.

I have not been able (yet?) to find or identify circumstances when ANCS would not be avilable or would be "removed in runtime", hence would it be possible to request some guidance and clarification on the conditions when ANCS can be unavailable or removed?

Thank you!

Answered by Engineer in 835245022

When ANCS will and will not be available cannot be predicted. It depends on the device state. and also what other processes might be using the resources needed for ANCS to be available.

This will depend highly on usage in the user's hands and the apps currently installed and running, etc., therefore cannot be predicted.

The best solution is to follow the guidance and watch the Service Changed characteristic.

When ANCS will and will not be available cannot be predicted. It depends on the device state. and also what other processes might be using the resources needed for ANCS to be available.

This will depend highly on usage in the user's hands and the apps currently installed and running, etc., therefore cannot be predicted.

The best solution is to follow the guidance and watch the Service Changed characteristic.

I see, thank you for your answer.

Unfortunately it does not give much clarity if there are certain actions/states that might have a higher chance of ANCS being unavailable. Would you be able to provide an example scenario that might increase the chance of ancs being unavailable?

In the product we'd like to launch it will be important to notify users about eg. incoming phone calls and we'd like to better understand if eg. playing a game, recording video will have impact on ANCS

thanks!

Clarification about ANCS being unavailable
 
 
Q