92
Views
3
Comments
Solved
[Social Sharing Plugin] [Social Sharing Plugin] Social plugin is not defined
Question
social-sharing-plugin
Mobile icon
Forge asset 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?


SocialSharingPlugin.png
2021-04-09 11-42-43
assif_tiger
 
MVP
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

UserImage.jpg
Joao Siquenique

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


2021-04-09 11-42-43
assif_tiger
 
MVP

Happy to know you resolve.

Cheers

assif

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.