ionic-team / ionic-plugin-deeplinks

Handle deeplinks into your Ionic/Cordova apps from Universal Links, App Links, and Custom URL schemes. For those using Ionic 2, there are some nice goodies that make life easier.
Other
333 stars 218 forks source link

Ionic social sharing with deep links #146

Open hamdanihamza opened 6 years ago

hamdanihamza commented 6 years ago

I’m using deeplinks and i share the URL with the social sharing plugins, the issue is that the link isnt sent as a string not a link.

Example

this.socialSharing.shareViaFacebook(msg + " myapp://home/article/"+id, img).then(() => {
//
});

I tried a script on codepen and its working perfectly.

JEricaM commented 5 years ago

Same problem!!! I hope that someone will answer :S

chrisweight commented 5 years ago

This call looks wrong?

the api describes the call as this:

shareViaFacebook(message, image, url)

URL should be the 3rd parameter?

chrisweight commented 5 years ago

Also, isn't this an issue that should be reporting on the social sharing plugin repo?

JEricaM commented 5 years ago

This call looks wrong?

the api describes the call as this:

shareViaFacebook(message, image, url)

URL should be the 3rd parameter?

the url is not clickable If I sent it through shareViaFacebook(message, image, url).

chrisweight commented 5 years ago

Ok,so this is still an issue for the social sharing plugin not parsing custom url schemes correctly, AFAICT, there's nothing this plugin can do to mitigate that, unless I'm missing something obvious?