Whatsup href ionic?


#1

Hello
I need some thing like this to open whatsup App by whats up number
i have searched, I find this code but it is not work .
<button ion-button color="light" *ngIf="ProfileInfo.whats_up_number"><a href="whatsapp:{{ProfileInfo.whats_up_number}}"><ion-icon name="logo-whatsapp"></ion-icon></a></button>
thanks.


#2

Try social share plugin


#3

like this, but you have to add number to whats’up before connect with him.
this.socialSharing.shareViaWhatsAppToReceiver(whatsUpNumber,“hello” ).then(()=> {
})