zulip-mobile
zulip-mobile copied to clipboard
Handle sharing from other apps (iOS)
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.
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
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.
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.)
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.
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/
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
Another user request for this feature: https://github.com/zulip/zulip-mobile/issues/4586#issuecomment-921153771
Any news about this? It basically kills work flow and very important feature
Another request for this on CZO: https://chat.zulip.org/#narrow/stream/48-mobile/topic/iOS.2FiPadOS.20Square.20with.20arrow.20pointing.20upwards/near/1559273
Noting here that the documentation at zulip.com/help/share-and-upload-files should be updated when this feature is implemented.
Just checking if there is still some active work going on for this or the expected time when this will be implemented.
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.