Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28015] Add native social sharing into Titanium SDK

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusResolved
ResolutionDone
Resolution Date2021-03-31T11:53:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labels2021-Q1, share, shareSDK, sharekit
ReporterBrenton House
AssigneeSatinder Pal Singh
Created2020-07-13T21:46:50.000+0000
Updated2021-05-17T16:31:11.000+0000

Description

I have seen several suggestions over the years to integrate support for the native share sheets into the Titanium SDK. I've seen some modules floating around like the one shared by Ricardo here: https://github.com/ricardoalcocer/socialshare but they are really old and I am not sure they work with current versions of the framework. It would be great to have native modules for iOS and Android that ship with the SDK similar to how Ti.identity and others do.

Comments

  1. Joshua Quick 2020-07-14

    You can easily do this on Android via a share intent. No native module required. You can already do this via Titanium's core JavaScript APIs now. This is really only a limitation on the iOS side. Apple has deprecated ShareKit. I don't know if there is an official replacement.
  2. Brenton House 2020-07-14

    Not as familiar with the native side but others seem to be using UIActivityViewController. Is that related to the ShareKit you mentioned?
  3. Joshua Quick 2020-07-14

    Yeah, it looks like UIActivityViewController is your only option on iOS.
  4. Satinder Pal Singh 2021-01-28

  5. Satinder Pal Singh 2021-03-31

    Release is available for publishing https://github.com/appcelerator-modules/appcelerator.social-share/releases/tag/v1.0.0

JSON Source