This plugin will be depreciated on the next stable release of C3. Allows access to native "share" functionality on iOS and Android devices.
— - could you post a screenshot of the event sheet you used to make this work? I still can’t get it working.
How to Add Image With the Sociashare Plugin Part 1.
Just add the plugin to your project, (DON'T USE any of the plugins's conditions and and actions).
Use javascript to call the plugin instead.
1. add the social share plugin to your project.
2. add the construct 3 browser plugin to your project so the you can use javascript.
3. add the construct 3 touch plugin
4. create 2 global variables ("appTitle", "link") you can one more for your message if you like.
5. create an event (Touch -> On tag gesture on share), share is an image sprite.
action 1. System -> take snapshot of canvas (PNG, quality 100)
action 2. System -> wait 0.2 seconds. (this is very important, it takes time to take the screenshot).
action 3. Browser -> Execute javascript "window.plugins.socialsharing.share(null,'"
Amazing. Got it working. Thanks so much for this.
hi , can you tell me how it work , or send screenshots plzzzz
Add the Browser and Soicial Sharing plugins to your project.
I have the social sharing popup attached to a graphic, so I do:
------
Touch > On touched GRAPHIC > Browser > Execute Javascript "window.plugins.socialsharing.share('YOUR MESSAGE HERE')"
|-------------------------------- Browser > Execute Javascript "stop();"
Hope this helps :)
thank you , but it not work for me (((
Post a screenshot of your event sheet.
Part 2
i am having trouble replying. i can not paste the javascript code, maybe they think is a virus!
i will post the screenshot
They won't let me post any image either!
here is the link to the screenshot.
pinephoto.com/screenshot.png
You can omit the set time scale action if your app is static ( no moving sprits)
Hi!Could you reupload the images..
Hey, Could you please reupload the screenshot? It says Page Not Found
I didn't login for over a month, here is the screenshot.
oceantornado.com/share/share.jpg
Thanks a lot
Hi :), could you reupload the images.. because that page can't be found anymore.. Thanks
Its okay. I figure it out. Thankyou very much. You are awesome.
I’ve just added a suggestion to include graphical elements in the social share plugin.
https://construct3.ideas.aha.io/ideas/C3-I-546
Give it an upvote if you think it would be a useful addition.