Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Image sharing issue with Ionic social share plugin

$
0
0

@kamal-lab wrote:

I’m trying to send image directly to a Whatsapp number using shareViaWhatsAppToReceiver method in ‘Ionic social share’ plugin.But text only set into a receiver’s chat screen and image eliminated.

However image sending working if I use shareViaWhatsApp method where is no option to set receiver. Is there any issue with ionic plugin or I need to send image in any other format? I tried to send from asset and also tried encodeURIComponent from url.

This is working

this.socialSharing.shareViaWhatsApp('Hello', shareImage);

This ignores image
const number = '+9198765XXXXX'; this.socialSharing.shareViaWhatsAppToReceiver(number, 'Hello, this.shareImage);

Note: I create image from html and sending it as base64 string.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>