SocialSharing plugin documentation error

SocialSharing plugin documentation says:

import { SocialSharing } from ‘ionic-native’;

// Check if sharing via email is supported
SocialSharing.canShareViaEmail().then(() => {
// Sharing via email is possible
}).catch(() => {
// Sharing via email is not possible

// Share via email
SocialSharing.shareViaEmail(‘Body’, ‘Subject’, ‘’).then(() => {
// Success!
}).catch(() => {
// Error!

But the compiler says the method canShareViaEmail() is not availabel in SocialSharing.

Did you ever find out what was going on here?


Don’t tried anymore.

I’ve opened this issue if you want to follow