Open MilesYM opened 10 years ago
Same problem here also with Android, in WhatsApp the URL isn't clickable is just text
Good day everyone, i found simple solution for proper sms. in [cordova project folder]/platforms/android/src/nl/xservices/plugins/SocialSharing.java file replace:
if (notEmpty(message)) {
sendIntent.putExtra(android.content.Intent.EXTRA_TEXT, message);
}
with
if (notEmpty(message)) {
sendIntent.putExtra(android.content.Intent.EXTRA_TEXT, message);
sendIntent.putExtra("sms_body", message);
}
in lines 214-217. I must point Your attention that thi is rather robust hack. I used this stackoverflow answer: http://stackoverflow.com/questions/10490329/android-mms-intent-with-with-image-and-body-text
Thx @ailmcm, I've tested and added your code.
I've found something weird on Android, when the url to share is for example a .land domain it doesn't share, .com domains works fine.
Hello there,
When sharing a message with link and image, I'm facing a bug on Android.
It works perfectly fine on iPhone but with android wether its a text or whatsapp it only shares the image !?
Why's that ?
Phonegap V3.5.0 socialSharing plugin 4.3.0
The code I;m using:
Am I doing something wrong ?