can i pass a html tag inside the social share function parameter
please give me some suggestion.
please give me a example of code .if possible
import { SocialSharing } from '@ionic-native/social-sharing';
constructor(private socialSharing: SocialSharing) {
}
this.socialSharing.share(message, subject, file, url).then(() => {
}).catch(() => {
});
messsage-->string
subject-->string
file-->string
url -->string
i want to pass html tag how can i do that?
I’ve share a link to the video. just showing link. i want to do that share as a video frame
@flycoders_sourav.
You can pass your link as url of string format as i explained above.
this.socialSharing.share(message, subject, file, url)
‘url’---->your link of type string
ex: this.socialSharing.share(message, subject, file, ‘www.example.com’)
This is my code please check at once
shareforall(event,item){
let video_link = item;
this.shareVdioLink = video_link._meta_gallery_images;
this.socialSharing.share(
this.shareVdioLink +"\n"+
"Share via"+" "+this.appUrl
)
.then(() => {
})
.catch(() => {
});
I want to share play store app url and video link
@flycoders_sourav Video or appurl link should be string
shareforall(event,item){
let video_link = item;
this.socialSharing.share(video_link)
.then((res) => {
})
.catch((error) => {
});
actually this my video link video_link._meta_gallery_images getting response from the wordpress