import { Share } from '@capacitor/share';
await Share.share({
title: 'See cool stuff',
text: 'Really awesome thing you need to see right meow',
url: 'http://ionicframework.com/',
dialogTitle: 'Share with buddies',
});
await Share.share({
text: 'Really awesome thing you need to see right meow',
});
await Share.share({
url: 'http://ionicframework.com/',
});
const photo = await Camera.getPhoto(options);
await Share.share({
url: photo.path,
});
const { photos } = await Camera.pickImages(options);
await Share.share({
files: photos.map(photo => photo.path!),
});