Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Capacitor Share

$
0
0

@RaulGM wrote:

Hi everyone! Does anyone have a capacitor share example? I need to share some text with WhatsApp. I don’t know if there is a deep link to reference.

I literally have

import { Plugins } from '@capacitor/core';
const { Share } = Plugins;

let shareRet = 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'
});

I got the following error:
ERROR Error: Uncaught (in promise): Web Share API not available

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>