Hi all,
I am using ionic native social sharing in my ionic 3 application.
I am sharing images and description to whatsapp.
Here’s my code:
let loading = this.loadingCtrl.create({content:`Downloading ${images.length} Images...`});
loading.present();
this.socialSharing.shareViaWhatsApp(null,images,null).then((data)=>{
loading.dismiss();
this.socialSharing.shareViaWhatsApp(this.modalProduct.productDescription+`\r\n\r\n *Price* : ${this.finalVal}`,null,null).then((ddata)=>{
}).catch((msgError)=>{
loading.dismiss();
alert("msgError => "+JSON.stringify(msgError))
})
}).catch((ierr)=>{
loading.dismiss();
alert("imgError => "+JSON.stringify(ierr))
})
But It does in reverse. It first shares description and then images. Why is that happening?