C2isthetruth
sorry i worked on another project, so i wasnt online in the construct forum a while. It depends on the informations you want to open with the socialsharing tool - in this case i needed the informations to share the screenshot with the email on mobile.
The benefit on the social sharing tool is, that your mobile device will open all possible sharing tools - also the download local method (in my case it worked on both IOS and Android).
Did you followed the guide to bring the canvas snapshot to work? Note: I worked with phonegap, where you have to make a reference for the socialsharing plugin in your config.xml file too.
my case:
<plugin name="cordova-plugin-media" source="npm" />
<plugin name="cordova-plugin-file" />
<plugin name="cordova-plugin-http" />
<plugin name="cordova-plugin-inappbrowser" source="npm" />
<plugin name="ionic-plugin-keyboard" source="npm" version="2.2.1" />
<plugin name="cordova-plugin-whitelist" source="npm" />
<plugin name="cordova-plugin-splashscreen" source="npm" />
<plugin name="cordova-plugin-x-socialsharing" source="npm" />
Note:
"window.plugins.socialsharing.share('This is the message.',' Topic ','" & CanvasSnapshot & "', null)"
you forgot a ' behind the ... & CanvasSnapshot & " (here), ...