iphoneapple-appclips

Apple App clip - Is it possible to save contact details to phone contacts from App clips?


I'm looking for an easy way to store contact details from a webapp to iPhone contacts. The UX of this flow from a webapp is far from optimal, therefor I'm looking to utilize App clips in order to do so. From reading the documentation it seems like there is no option to save to phone contacts. Does someone know if this is possible?

Sharing data App clip documentation

Access limitation App clip documentation

Thanks


Solution

  • Long story short, Apple is severely limiting the ability of an App Clip to get at sensitive information (of which the contacts are one of the "sensitive" items)...won't know for sure till they start shipping iOS 14, but you can test it out by setting up a app clip that uses ABAddressBook to set up a new contact and see if it will work. Either A) it won't, or B) it will prompt for permission from the user.

    How to use ABAddressBook to do that is explained in this thread