Ionic 4 - how to make ionic redirect to market if no provider for intent

I’m using Whatsapp url scheme for send message to particular contact.


it’s working. but if mobile does not have whatsapp, it’s not showing any error. Also make redirect to playstore to install whatsapp. But how?