-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to Share image from Status #12528
Conversation
Jenkins BuildsClick to see older builds (21)
|
src/status_im/utils/share.cljs
Outdated
(:require ["react-native-share" :default react-native-share])) | ||
|
||
(defn open [options on-success on-error] | ||
(println react-native-share) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
just wondering why two icons ? |
This is a timely PR. We need this feature for sharing NFTs too !! |
425868f
to
6135e72
Compare
One is for download the image (that was already implemented, but the UI was changed) and the other is for sharing it. |
but we now have save option in share ,so we don't need download icon anymore ? |
Yeah it is valid concern, @hesterbruikman any thoughts on this? |
@briansztamfater thanks for adding this! Works well except for these two issues. ISSUE 1: Mismatch with design for vertical / zoomed imagesISSUE 2: Can't share an image to Telegram / Mail on iOSGet endless spinner when trying to share an image to Telegram and don't receive an email with shared image when sharing to Mail. |
Thanks @qoqobolo, I'll take a look at those issues and come back to you |
6135e72
to
56bb257
Compare
@qoqobolo Both issues should be fixed now! |
79% of end-end tests have passed
Failed tests (14)Click to expand
Passed tests (54)Click to expand |
Can you please add accessibility-ids for new elements? |
f3a6a00
to
fff813d
Compare
@qoqobolo Added accessibility-ids to all close, save and share buttons. Let me know if that's ok and I can merge then :) |
@briansztamfater thanks a lot! |
Signed-off-by: Brian Sztamfater <[email protected]>
fff813d
to
68ffddb
Compare
fixes #12472
Summary
This PR adds the ability to share an image to other apps from the image preview in Status.
Screenshots
Platforms
Functional
Steps to test
status: ready