Caller id crash

Originator:a.s.markov
Number:rdar://FB9609933 Date Originated:04.04.2021
Status:Open Resolved:
Product:Caller id Product Version:iOS 14+
Classification:Unexpected Behavior Reproducible:yes
 
hello,  I have a problem with Caller id after incremental update database.

1) download full zip file, unpacking it
2) call CXCallDirectoryManager.sharedInstance.reloadExtension
3) extension get url for my binary file with phones
4) i see caller id in the phone book.

It's work ok. 

After that I want download update for my caller id.
1) download zip file with phone (new phones, needs to remove phones)
2)  call CXCallDirectoryManager.sharedInstance.reloadExtension
3) extension get url for my binary file with phones

And I see errors 
CXErrorCodeCallDirectoryManagerErrorCurrentlyLoading = 7
com.apple.callkit.database.sqlite Code=11  "database disk image is malformed" 
or
 com.apple.callkit.database.sqlite Code=19 "UNIQUE constraint failed: PhoneNumberIdentificationEntry.extension_id"

and phone book shows all phones like as "unknown"

What's wrong ?
what are the limitations by caller id ? (label length, phone count and others)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!