I've been trying to send a text link to WhatsApp, from iPhone and Android, using my LC App.
Code: Select all
on mouseUp
--this is the text: <p>Ciao.</p><p><a href="https://www.segnapunto.it/">This is my link: www.segnapunto.it</a></p>
put "<p>Ciao.</p><p><a href=" & quote & "https://www.segnapunto.it/" & quote & ">This is my link: www.segnapunto.it</a></p>" into tText
if the environment = "mobile" then
try
mobileComposeHtmlMail "TestInvito",,,,tText
catch errorParameter
answer errorParameter
end try
if the Platform <> "android" then --android does not return anything
answer the result
end if
end if
end mouseUp
The only time it works with WhatsApp is if i add an attachment. But no text from the "body" get displayed.
I also tried to pu "whatsapp" on the Custom Url scheme of the Android standalone settings.
Is there something that I should know?
Thanks