How to share pdf document on whatsapp


#1

I have used cordovaSocialSharing but i don’t want show all option to user like(gmail,gdriv,skype).
looking for only whatsapp for share pdf document form device.


#2

try this instead of images you can specify the pdf

$cordovaSocialSharing.shareViaWhatsApp(message, image, link)
  .then(function (result) {

  }, function (err) {
      ionicToast.show('You have no Whatsapp in your phone ', 'bottom', false, 5000);
  });