Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When observing CNContactStore.NotificationDidChange, we are unable to get it to ever actually fire when making external changes to the contact list. Tried on both 9.3 Simulator and a 9.3 device.
CNContactStore.NotificationDidChange, (obj) =>
Then background, go to your Contacts, add a new one or modify one, then foreground the app again. The action never fires.
The ABAddressBook version works just fine, but that's now deprecated and we're reluctant to use it.
Created attachment 17319 [details]
Hello, I have created a small sample demoing what you are trying to achieve and it works for me. Please let me know if this solves your issue.
You can use the strongly typed notification CNContactStore.Notifications.ObserveNotificationDidChange instead.
In order to use the Contacts and Contacts UI api you need to ask user permission for it and also the reason for it in your info.plist under the NSContactsUsageDescription key.
Feel free to reopen the bug if this does not solve your issue.