Save new Contact
Kim Brandwijk
open
theo
Kim Brandwijk: What do you mean by open?
Kim Brandwijk
theo: we're cleaning up some statuses for items that haven't changed in years. It's not something that's actively being worked on, that's why it's in status 'open' now.
Conor Strejcek
Evan Bacon / Brent Vatne Just wondering if there are any updates to share on this front. The Contacts.updateContactAsync(contact) method has been marked as "iOS Only - temporary" in the docs for some time (https://docs.expo.dev/versions/v44.0.0/sdk/contacts/#contactsupdatecontactasynccontact), and this feature has been "In Progress" for several years.
I have a feature planned for automating the update of contacts, but was waiting on Android support for this in Expo, and wanted to know if this is still planned, or if the feature has been put on hold indefinitely.
Thanks, and I hope this message finds you well.
Wodin
Conor Strejcek: Perhaps try using
react-native-contacts
and build with EAS Build. I'm not 100% sure, but you might not even need a config pluginConor Strejcek
Wodin: Thank you for the prompt response! To clarify, would this would mean ejecting to the bare workflow?
I realize that this feature would be available outside the managed workflow, so my question was really on whether this feature should still be marked as "In Progress" here, or if there is still a plan to incorporate Android support into the expo-contacts package (for the few features which are still iOS-only).
Wodin
Conor Strejcek: No, this would still be the managed workflow, but using EAS Build. You would not be able to use the Expo Go app, but you could build a custom dev client which is basically a customised version of the Expo Go app.
Unfortunately I don't know what the Expo team may or may not be planning other than what they announce publicly.
There are several feature requests here that they have marked as Complete because there's a third party package available with a config plugin that allows you to use it with EAS Build. If
react-native-contacts
works, I suspect they won't add those missing features to expo-contacts
.Felix Breuer
well since saving a new contact already works, it would be nice if there would be a way to update contacts on android via code (and not via form, since i want to update contacts in the background)
Jeffrey de Lange
Any timeline on support for adding contacts to Android?
Brent Vatne
in progress
Evan Bacon
This will work on iOS in SDK 29. In Android it will require a very invasive permission. The code to actually do it is implemented but there isn't a way to request the permission! We will be adding this permission in time though. 😁
Prithvi Rey
Evan Bacon: when could we see this being added?