knowing if contact has instant messaging apps installed

In my app i need to know if contact has whatsapp installed. I know this is possible because contact apps on android only show the option to open whats app if the contact has whatsapp.

How do i do the same in an expo environment?

Hi

This question might fit better in “How To” or “Third Party Software”.

Could you explain more about what you’re trying to do as opposed to how you’re trying to go about it?

I don’t think there’s a way to directly check if WhatsApp is installed, but as far as I know there are a couple of ways to share something with WhatsApp or tell WhatsApp to open if it’s installed.

I haven’t tried these, but maybe some of them will help you to do what you want to do:

I dont need to know if whatsapp is installed on my device. I can use Linking.canOpenUrl for that,
My app needs to allow to open whatsapp, only if the other person have whatsapp.

Contact apps are doing this, so it is possible