This plugin will be depreciated on the next stable release of C3. Allows access to native "share" functionality on iOS and Android devices.
Not sure how this works. I've installed the plugin and have:
Touch > On touched Button > SocialSharingPlugin > Share Subject: “Subject here” Text: “Text here &Highscore&” URL: “http://www.url.com”
And nothing happens once built.
Any ideas?
What platform are you using it on, and how did you export it? Seems to work on both iOS and Android. I should probably note that it's for native ( cordova ) builds.
There is an API for sharing in a website, but it's chrome only at the moment.
Just tried it with a debug .apk also - still not working.
Are there other events/actions that need to added alongside the ones above to make it work? Are there other plugins I need to add?
I'm exporting as an Android Studio project then importing it into AS.
I'm then generating a signed APK and installing that on my test Android phone.
I press the button that points to the events/actions above and nothing happens.
Basic project with a button, a text field and the social plugin. Has one event, On button clicked -> share(textfield.text.
Exported as android studio, loaded it up then started a debug session with a samsung s8 attached. Typed a word in the box, hit share and the menu appeared. Also tried the same with xcode and the simulator, still worked.
I'd say double check your events, then maybe try looking for errors in logcat/chrome... Might create a github repo for this plugin, make bug tracking easier.
So you’re sharing the contents of a text field? How does this marry up with the actions Share Subject: {1} Text: {0} URL: {2} ?
Has your example event been truncated in your reply above as there’s no closing bracket? Any chance you can post a full example somewhere or share a c3p?