EddyVerbruggen / SocialSharing-PhoneGap-Plugin

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget
MIT License
1.78k stars 910 forks source link

Error: exec proxy not found for :: SocialSharing :: shareViaWhatsApp #973

Open mMarcos208 opened 6 years ago

mMarcos208 commented 6 years ago

Run:

$cordova plugin add cordova-plugin-x-socialsharing
$ cordova prepare
 share: function (url) {
      window.plugins.socialsharing.shareViaWhatsApp('Acho que irá gostar dos produtos abaixo.', url, url, this.shareSucess, this.shareError)
    }
    shareSucess: function () {
      console.log('share ok')
    }
    shareError: function (errormsg) {
      console.log(errormsg)
    }

Error:

Error: exec proxy not found for :: SocialSharing :: shareViaWhatsApp Missing Command Error

ViteRoberto commented 5 years ago

Had u solve it?

jonathan-chin commented 5 years ago

I'm getting the same issue with shareViaFacebook()

mMarcos208 commented 5 years ago

This problem is only caused when run cordova run browser, on the device this does not happen.

ViteRoberto commented 5 years ago

Thank u very much! I tried with a real device and everything goes fine

jonathan-chin commented 5 years ago

hi @mMarcos208 the ionic native plugin documentation lists this plugin as supporting the browser platform:

https://ionicframework.com/docs/native/social-sharing

Perhaps that needs to be updated?

aklen commented 4 years ago

Yes, the documentation says the browser platform is supported - I think that should be removed / updated.

adii3 commented 3 years ago

This problem is only caused when run cordova run browser, on the device this does not happen.

no it also happens in device also