Social sharing with hyperlink text in Sencha app using Social Community plugin
I added the plugin to my sencha app
cordova plugin add nl.x-services.plugins.socialsharing
for sharing photos and email text
window.plugins.socialsharing.ShareViaEmail('<a href="www.hello.com">Message via WhatsApp</a>', 'www/image/demo.png', 'https://hello.com', function() {console.log('share ok')}, function(errormsg){alert(errormsg)})
for whatsapp image and text exchange
window.plugins.socialsharing.shareViaWhatsApp('<a href="www.hello.com">Message via WhatsApp</a>', 'www/image/demo.png', 'https://hello.com', function() {console.log('share ok')}, function(errormsg){alert(errormsg)})
The method works for email and whatsapp, but the message is propagated by email in order for example if we click on the message "Message via WhatsApp" it will be redirected to hello.com but in the message whatsapp is shared with the href tag
please suggest me what i need to do to exchange hyperlink on whatsapp
+3
source to share
No one has answered this question yet
Check out similar questions: