Crashes in the Call Directory Extension

We are developing an application that uses the CallDirectoryExtension to display names on the incoming call screen.

When the app starts up, a large amount of data is registered with CallDirectory via AppGroup. If a crash occurs in the middle of the process, will the data registered in the middle of the process remain registered in CallDirectory? Also, will data that fails to register due to a crash be registered in CallDirectory when the app is restarted?

Errm, wouldn't it be better to instead eliminate the crash from your extension???

Common reasons for getting a crash with the call extension are: a) you're loading up too many/large data structures at once and are running out of memory, i.e. you load up an array of phone numbers which is hundreds of thousands entries b) you attempt to add a duplicate phone number c) the phone numbers are not sorted in order.

Errm, wouldn't it be better to instead eliminate the crash from your extension???

Thank you for your response.

You are indeed correct in your point. I would like to know if the data being registered (phone numbers and texts) will remain in CallDirectory or be deleted in case of a crash!

Crashes in the Call Directory Extension
 
 
Q