zulip-mobile icon indicating copy to clipboard operation
zulip-mobile copied to clipboard

Handle sharing from other apps (iOS)

Open gnprice opened this issue 6 years ago • 12 comments

Same thing as #117, but for iOS.

This feature seems to be less commonly requested on iOS than on Android, but will be useful there too -- at least for sharing links.

gnprice avatar Jan 14 '19 20:01 gnprice

I think #674 will eventually address iOS also. It is just that not yet. @jainkuniya is using this: https://github.com/alinz/react-native-share-extension

borisyankov avatar Jan 14 '19 20:01 borisyankov

One use case a user described in chat today:

  • Take an audio recording in some other app.
  • Share that with coworkers.

Screenshots in that thread of the existing flow: "share" from the app that has the data; the sharing UI has a bunch of apps in it, including Telegram; on choosing Telegram, a list of contacts to send it to appears (IIUC), still in the sharing UI; then select the destination and send.

gnprice avatar Jul 24 '19 20:07 gnprice

From a quick look at Apple docs, I believe the Telegram flow seen in those screenshots is an example of a "share extension": https://developer.apple.com/design/human-interface-guidelines/ios/extensions/sharing-and-actions/ and/or an "activity view": https://developer.apple.com/design/human-interface-guidelines/ios/views/activity-views/

The main technical documentation for these appears to be https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html https://developer.apple.com/documentation/uikit/uiactivityviewcontroller https://developer.apple.com/documentation/uikit/uiactivity

Key terms include UIActivity, UIActivityViewController, SLComposeServiceViewController. (The last name is because it's "social" -- very 2012.)

gnprice avatar Jul 24 '19 21:07 gnprice

Hello, is iOS share functionality still expected to be implemented at some point? I was trying to share a file into a stream and found that Zulip does not appear in the iOS share sheet.

alexclaydon avatar May 28 '21 10:05 alexclaydon

We've just got another report of this, here. I think this will be easier now that #117 is resolved (there's some added React Native code that we should be able to reuse for this, right?), but this will still take some research into how sharing to Zulip should be handled in the iOS native code.

This looks like some design guidelines for sharing: https://developer.apple.com/design/human-interface-guidelines/ios/extensions/sharing-and-actions/

chrisbobbe avatar Aug 04 '21 00:08 chrisbobbe

Marking as a priority because this is a recurring feature request. Happily we added the corresponding feature on Android just a couple of weeks ago (#117), and yeah, we'll definitely want to reuse that JS-side code here. (Possibly with some refactoring, as needed.)

For Apple documentation on how to implement the platform side of this, see those design guidelines and the other docs linked in my comment above: https://github.com/zulip/zulip-mobile/issues/3277#issuecomment-514800908

gnprice avatar Aug 04 '21 02:08 gnprice

Another user request for this feature: https://github.com/zulip/zulip-mobile/issues/4586#issuecomment-921153771

gnprice avatar Sep 16 '21 19:09 gnprice

Any news about this? It basically kills work flow and very important feature

fuzunspm avatar Jul 28 '22 05:07 fuzunspm

Another request for this on CZO: https://chat.zulip.org/#narrow/stream/48-mobile/topic/iOS.2FiPadOS.20Square.20with.20arrow.20pointing.20upwards/near/1559273

chrisbobbe avatar May 01 '23 17:05 chrisbobbe

Noting here that the documentation at zulip.com/help/share-and-upload-files should be updated when this feature is implemented.

alya avatar May 26 '23 19:05 alya

Just checking if there is still some active work going on for this or the expected time when this will be implemented.

macieksarnowicz avatar Dec 03 '23 21:12 macieksarnowicz

This is among the features we plan to build in the new Flutter-based mobile app, sometime after we complete the migration to that app next year.

gnprice avatar Dec 22 '23 06:12 gnprice