Page 1 of 2

SocialSharing Plug In

Posted: Sun Sep 14, 2014 7:08 am
by Next Thing

I know that third party plugins are out of scope of support, but then there are some very famous and useful plugins like socialSupport which should definitely be there. I tried all the mentioned steps to get this working but can't. Can someone help here


SocialSharing Plug In

Posted: Sun Sep 14, 2014 7:09 am
by Next Thing

SocialSharing Plug In

Posted: Sun Sep 14, 2014 7:36 am
by Alena Prykhodko

Hello,

Have you followed instructions mentioned here http://devcenter.appery.io/documentat...?
Please show screen shot how you added plug-in.


SocialSharing Plug In

Posted: Sun Sep 14, 2014 11:20 am
by Next Thing

please find the screenshots below, I have all the steps mentioned there in details already since last couple of weeks

Added the JS file

Image

Changed cordova_plugins.js as below

Image

Added the java file as below

Image

Changed the config.xml as below

Image

Invoking the plugin in two ways as follows

$.getScript('resources/lib/cordova.js', function() {
var socialsharing = cordova.require("nl.xservices.plugins.socialsharing");
//socialsharing.share('Just a trial Message only');
window.socialsharing.share('Just a trial Message only');
socialsharing.share('Just a trial Message only');
});


SocialSharing Plug In

Posted: Wed Sep 17, 2014 7:41 pm
by Evgene Karachevtsev

Hello,

Sorry for delay. You a little bit strange call the plugin. It should be called as it is described here: https://github.com/EddyVerbruggen/Soc...
Also please check are there any errors in console.


SocialSharing Plug In

Posted: Sat Sep 20, 2014 2:34 pm
by Next Thing

Hi Evgene,

The link you posted asks to call the plugin like window.plugins.socialsharing.share('Message only');

But since the window.plugins does not work any longer in the cordova 3.0.0 and above I have implemented in the way I pasted above.
I have even tried calling the plugin using various combinations (including one shown in the post) but nothing works.


SocialSharing Plug In

Posted: Mon Sep 22, 2014 11:07 am
by Evgene Karachevtsev

Hello Next Thing,

Could you please clarify, why do you think that it doesn't work on Cordova 3 and up? Just the opposite, there are:
"These instructions are for PhoneGap 3.0.0 and up."
For older Cordoba there is another thread
Could you please try
prewindow.plugins.socialsharing.share('Message only');/pre
If you did try this, please post what do you get.


SocialSharing Plug In

Posted: Sat Nov 29, 2014 4:09 am
by Shubham Pareta

window.plugins you cannot find plugins it gives error undefined...


SocialSharing Plug In

Posted: Sat Nov 29, 2014 4:20 am
by Shubham Pareta

Hello "Next Thing"

When i was trying your script nothing happens, but when i saw in browser console i got
Failed to load resource: the server responded with a status of 404 (Not Found)
https://appdesigner.rollbase.com/app/...

i have cordova.js file in resources lib.......please help asap...


SocialSharing Plug In

Posted: Sat Nov 29, 2014 9:04 pm
by Egor Kotov6832188

Hello Shubham.
Progress is not Appery.io platform. It is outside the scope of support.
Please contact progress support.