Social Sharing whatsapp share issue

Hi all,
I have install cordova social sharing plugin inside Capacitor 3 project and want to share image from server to whatsapp directly. I am using shareViaWhatsapp method but it throw error. Please help.


      this.socialSharing.shareViaWhatsApp('hello',this.sharingImage,this.sharingUrl).then((res)=>{

      }).catch((err)=>{
        console.log('err in as',err);
        
      })```

sharingImage is url of image
sharingUrl is other url

It will help a lot if you provide more info. Such as the error message, what you have tried, on which devices this is happening etc. Likely this increases the chances of someone responding with suggestions or maybe even a solution.

try it as base64 url i am not sure

You could also try the @capacitor/share plugin? I try to avoid telling people to switch plugins but without more context it’s hard to help