I'm using React Native Expo, and I want to open the default phone Contacts app.
On Android, I used:
await Linking.openURL("content://contacts/people/");
and that's worked.
On iOS that doesn't work.
I tried:
await Linking.openURL('contacts://');
but it doesn't work. How do I do that on IOS?
I want to open the contacts app on the iPhone only. Not getting contact data from the device through my app as suggested in some answers.
To open the default dialer app on iOS without a number pre-filled, you can try using the
telprompt://{your number}URL scheme, which should prompt the dialer to open without immediately initiating a call. Here’s how you might use it in React Native