Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

[IMPROVEMENT] Upload images from clipboard

Open frdmn opened this issue 5 years ago • 15 comments

  • Your Rocket.Chat Experimental app version: 4.3.1
  • Your Rocket.Chat server version: 2.4.8
  • Device (or Simulator) you're running with: iPhone X

It would be nice to be able to to "paste" or upload images from the clipboard with the mobile client.

frdmn avatar Feb 10 '20 08:02 frdmn

Can I work on this issue?

devyaniChoubey avatar Mar 04 '20 16:03 devyaniChoubey

@devyaniChoubey sure

diegolmello avatar Mar 04 '20 16:03 diegolmello

@diegolmello I found solution of this but it is supported on IOS only and not on android.I am not able to implement this on both android and IOS

devyaniChoubey avatar Mar 11 '20 04:03 devyaniChoubey

@devyaniChoubey Thanks for letting me know. What's the solution you've found?

diegolmello avatar Mar 11 '20 11:03 diegolmello

Sorry @diegolmello for late reply. But I have read from stackoverflow and that too is about copying an image to clipboard. link

devyaniChoubey avatar Mar 13 '20 17:03 devyaniChoubey

We do not usually copy images on Android, but rather download them, or use the share intent to send. Is that not the same with ios? Do you copy images a lot? Is there no similar solution to a share intent on ios?

@frdmn @diegolmello @devyaniChoubey

regalstreak avatar Mar 17 '20 23:03 regalstreak

@regalstreak On iOS, I use the "copy method" across different apps quite often to avoid filling my camera/image roll with temporary media.

frdmn avatar Mar 25 '20 11:03 frdmn

Same use case. Open any website/app, copy an image, paste, you're good to go.

luckydonald avatar Aug 01 '20 21:08 luckydonald

@diegolmello this issue here is about uploading via paste, and not related to copying (downloading) an existing image to clipboard as described in #2364

I think those two problems need different code at different places, and should be handled independently of each other.

luckydonald avatar Aug 03 '20 12:08 luckydonald

https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/2364#issuecomment-667996651 :)

diegolmello avatar Aug 03 '20 12:08 diegolmello

Having no idea about how that could work, How would one go about any of the copy stuff? Is there a library in place one could use, or would one just pick one from Npm? Or would it even need to be written from scratch?

luckydonald avatar Aug 03 '20 12:08 luckydonald

AFAIK it needs to be implemented natively and there's no lib available.

diegolmello avatar Aug 03 '20 14:08 diegolmello

I’d really love to see this feature - on iOS for example you have to save images to files/photos before sharing them, and it’s a really slow workflow vs other chat apps where you can just paste.

Might be one of those things that’s not important enough for many to report but does slow people down.

alanedwardes avatar Apr 14 '21 19:04 alanedwardes

I’s also love to see this feature. 🙂

srkunze avatar Apr 17 '21 08:04 srkunze

It seems this feature has still not been implemented - at least in iOS. It seems crazy that we can't copy / paste an image from the browser into rocket chat.

BTW: I figured out that if you saved your rocket chat from safari as a "Web App", the clipboard works properly as it should. I think its not a good sign when the web app version has more features than the actual dedicated app. Hopefully the devs can fix this.

theklefti avatar Aug 16 '22 17:08 theklefti

BTW: I figured out that if you saved your rocket chat from safari as a "Web App", the clipboard works properly as it should. I think its not a good sign when the web app version has more features than the actual dedicated app. Hopefully the devs can fix this.

This. Any news on this, almost one year later? iOS now even has an option "copy to clipboard and delete" in the screenshot app, it's really time to implement this very basic feature, at least on iOS. Literally every other messaging app can pull this off.

rstockm avatar Jun 28 '23 10:06 rstockm