Skip to content

How to open a contact with default contact app after creating a contact #114

@richterdennis

Description

@richterdennis

I can successfully create a contact with

const { contactId } = await Contacts.createContact({ contact: contactData });

How do I open the contact with the default contact app?

After researching for hours, the best I achieved is

AppLauncher.openUrl({
    url: 'com.google.android.contacts',
});

This opens the contact app on android but not the contact itself.

A dedicated function to open the new created contact would be nice. Something like this:

Contacts.openContact(contactId);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions