[Social Sharing Plugin] [Social Sharing Plugin] Social plugin is not defined

Forge Component
(1)
Published on 2 Oct by Experts
1 vote
Published on 2 Oct by Experts

Hi, I am getting the error "Social plugin is not defined" using the attached flow. Can you please help to understand what I am doing wrong?

Solution

Hi Joao,

  •  If you are testing your application on Web-Browser then just to update you :)  Corodova Plugins are not supported on web browsers & thus most the plugin handle this check by IsCordovadefined Check.  Cordova Plugins & its actions are only supported on Devices.
  • You might be trying to run the application on WebBrowser to check the Social Media sharing & thus because there's an action CheckSocialMediaPlugin in Start, it will always return false & throw you an exception.
  • You can check it on Mobile Device, but make sure you generate a new build after you added the plugin in Project, Otherwise you will face an issue .. XYZ Action not defined.


Hope it helps,

Assif

Solution

assif_tiger wrote:

Hi Joao,

  •  If you are testing your application on Web-Browser then just to update you :)  Corodova Plugins are not supported on web browsers & thus most the plugin handle this check by IsCordovadefined Check.  Cordova Plugins & its actions are only supported on Devices.
  • You might be trying to run the application on WebBrowser to check the Social Media sharing & thus because there's an action CheckSocialMediaPlugin in Start, it will always return false & throw you an exception.
  • You can check it on Mobile Device, but make sure you generate a new build after you added the plugin in Project, Otherwise you will face an issue .. XYZ Action not defined.


Hope it helps,

Assif

Thank you , was needed a new build and works. Cheers


Happy to know you resolve.

Cheers

assif