My images are stored in firebase storage. I have noticed that if I store the image in a folder, I am no longer able to use it with the SocialSharing plugin from ionic native.
Anyone has found any workaround on this?
whatsappShare() {
let image = "https://firebasestorage.googleapis.com/v0/b/instagram-test-fe4a8.appspot.com/o/000.jpg?alt=media&token=64dd92cd-27c2-4c36-9c1d-2ab376ffd16c" //This is working
//let image = "https://firebasestorage.googleapis.com/v0/b/instagram-test-fe4a8.appspot.com/o/test%2F000.jpg?alt=media&token=2bc49648-cf1c-41fe-8e1f-071d54f56402" //This is failing because stored in test/ folder
//shareViaWhatsApp(message, image, url)
SocialSharing.shareViaWhatsApp("Checkout this picture!", image, "lycos.com/")
.then( () => {
alert("WhatsApp Success");
}, () => {
alert("WhatsApp failed")
})
}
I have found this github which seems related https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/696
It means the plugin can work in iOS and fail in android? Any possible solution to this?