Open fullflash opened 1 year ago
For ios using CNChangeHistoryFetchRequest CNChangeHistoryFetchRequest with history token we can fetch only updated contact not full phone book data.
Here some helpful sources to achieve this.
https://stackoverflow.com/a/73085003/4556619
https://github.com/yonat/ContactsChangeNotifier/blob/main/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift#L175
https://developer.apple.com/documentation/contacts/cnchangehistoryfetchrequest
CNChangeHistoryFetchRequest
Hi @fullflash, did you try this? Did it work for you?
For ios using CNChangeHistoryFetchRequest CNChangeHistoryFetchRequest with history token we can fetch only updated contact not full phone book data.
Here some helpful sources to achieve this.
https://stackoverflow.com/a/73085003/4556619
https://github.com/yonat/ContactsChangeNotifier/blob/main/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift#L175
https://developer.apple.com/documentation/contacts/cnchangehistoryfetchrequest
CNChangeHistoryFetchRequest