Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In OS X Contacts.app (9.0), server contacts don't sync to Mac until you create one on Mac #17

Open
smoyte opened this issue Jan 27, 2017 · 3 comments

Comments

@smoyte
Copy link

smoyte commented Jan 27, 2017

When you first add the CardDAV account it hits the server and does PROPFINDs but never GETs. Then when you add a contact to Contacts.app, after it does the PUT, for some reason it notices the server contacts and pulls them down.

My use case is read only from the server so this obviously is problematic. Any thoughts?

Thanks for the great app!

@inferiorhumanorgans
Copy link
Owner

inferiorhumanorgans commented Feb 17, 2017

It could be an issue with trailing slashes and Contacts.app not recognizing a collection. What URL does Contacts.app run a PROPFIND on initially?

@smoyte
Copy link
Author

smoyte commented Feb 17, 2017

Hi there! Thanks for the reply. Unfortunately I can't remember and I've since switched to using this: https://github.com/schmurfy/dav4rack_ext

I'm still working out the kinks but it fit my use case a bit better (trying to add something to an existing app). Hoping to write up my setup once it's done as I feel like others might want to expose an existing list of users in a Rails app over CardDAV. Couldn't find anything out there for that...

@inferiorhumanorgans
Copy link
Owner

Yeah this was mostly meant as a standalone proof-of-concept, not really something to integrate as I library. Unfortunately one of the hardest parts is that "older" apps (especially Apple ones) are just very buggy.

I'm giving some thought to rewriting this with Rocket.rs or Phoenix though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants