fixed image sharing issue

MOHEMM-Q3-DEV-LATEST
umasoodch 4 years ago
parent 464bca6a7a
commit 112269a5e4

@ -50,6 +50,9 @@
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
<feature name="SocialSharing">
<param name="android-package" value="nl.xservices.plugins.SocialSharing" />
</feature>
</platform>
<platform name="ios">
<allow-intent href="itms:*" />

@ -26,7 +26,7 @@
}
.pClass {
font-size: 10px;
font-size: 9px;
text-align: center;
margin-top: 10px;
color: black;

@ -35,7 +35,13 @@ export class OfferDetailsComponent implements OnInit {
return temporalDivElement.textContent || temporalDivElement.innerText || "";
}
share() {
this.socialSharing.share(this.stripHtml(this.details.Description), this.stripHtml(this.details.Title), this.details.Banner_Image).then((result) => {
console.log(this.details);
const options = {
message: this.stripHtml(this.details.Description),
// subject: this.stripHtml(this.details.Title),
files: ['https://www.geo.tv/assets/uploads/updates/2021-09-05/368882_8709303_updates.jpg']
}
this.socialSharing.shareWithOptions(options).then((result) => {
console.log(result);
})
}

Loading…
Cancel
Save