Info

Statistics

  • Download count948 total downloads
  • Latest download count 751 downloads of latest version
  • Average download count1 downloads per day average

Owners

Description

This plugin will be depreciated on the next stable release of C3. Allows access to native "share" functionality on iOS and Android devices.

Discussion

  • 51 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • 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.

      • 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.

        Load more comments (2 replies)
      • 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’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.

  • Weah i can download it? Server error. i can't open my old project without this

  • I know that the next stable release will include the official social plugin, however it is from what I have seen this exact version which doesn't support image sharing as well as many other features that are exposed.

    I have made an extended version of this which allows for the following:

    Saving images/canvas screenshot to camera roll.

    General Share Image/canvas screenshot & text.

    Share Image/canvas screenshot via SMS.

    If anyone wants a copy just let me know.

    • Bom dia, gostaria de uma cópia por favor, funciona tudo certinho ??

    • Awesome work, would be good to have it on the Addon Exchange if your happy to share it :)

      The new first party plugin is designed to work the same as the web API developer.mozilla.org/en-US/docs/Web/API/Navigator/share so that we can use that in web exports. That API doesn't support anything more complicated than text and links at the moment unfortunately.

      We may add new features in future but it's better introduce a minimal feature set at first and see how things need to evolve.

      • Hi Nepro, I assumed there must have been a reason for not including the extra features.

        I will clean up the code and add it to the Addon exchange.

        Thanks

  • I plan to depreciate this plugin when the next stable release is published, as it is being replaced with an official version.

    The ACEs are essentially the same, and it supports the C2 and C3 runtimes so porting should hopefully be painless. As it was effectively a third party plugin I never had much time to maintain this plugin, so this is probably the best thing that could happen to it.

  • How to use it to share the game in the Facebook, Twitter, G+, etc? I am using C3. Thanks.

  • Thx, very useful. It works like a charm after the apk build via Cordova CLI.

  • Thank You very much for making the plugin, works excellent.

    • - 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).

        Load more comments (16 replies)
  • This post couldn't be written any better! write me a dissertation Reading this post reminds me of my good old room mate! He always kept talking about this. I will forward this write-up to him. Fairly certain he will have a good read. Thanks for sharing!

    subway surfers

  • Anyone managed to get this working yet?

    I've currently got:

    [img]http://i66.tinypic.com/wimrye.jpg[/img]

    Still not working...

  • Load more comments (12 replies)