cordova-plugin-openwith icon indicating copy to clipboard operation
cordova-plugin-openwith copied to clipboard

Share webpage

Open MaximVanhove opened this issue 6 years ago • 11 comments

Hello,

Would it be possible to share webpage url's? At the moment I get:

uri: "content://com.android.chrome.FileProvider/BlockedFile_17148492684749"

While I expected a webpage url.

MaximVanhove avatar Mar 13 '18 14:03 MaximVanhove

I don't know, that would be interesting. Did you make any progress?

j3k0 avatar Mar 17 '18 00:03 j3k0

I forked your repo and tried 'hacking' into it, but I didn't get any results so far. Do you think it would be possible?

MaximVanhove avatar Mar 19 '18 10:03 MaximVanhove

@MaximVanhove you might try the fork at https://github.com/EternallLight/cordova-plugin-openwith-ios it handles more sharing types than just images...

viking2917 avatar Mar 23 '18 02:03 viking2917

@viking2917 Thank you very mush, I'll definitely do that!

MaximVanhove avatar Mar 23 '18 07:03 MaximVanhove

@viking2917 The fork you are pointing is for iOS and @MaximVanhove I am also facing the same issue.

maektwain avatar May 26 '18 17:05 maektwain

@maektwain We developed our own plugin to share URL's only. I can ask our client to make the plugin open source.

MaximVanhove avatar May 26 '18 17:05 MaximVanhove

@MaximVanhove Would be great if you can just provide me that code which takes care of the URL handling part , no need if you cannot open source it

Thanks

maektwain avatar May 27 '18 05:05 maektwain

So @MaximVanhove @viking2917 I solved it , instead of using clipData you can extract URI from extras

maektwain avatar May 27 '18 18:05 maektwain

Hi, do we have any progress here? @maektwain can you provide us here more information how you did this, please?

Thanks

sk8dev avatar Sep 15 '18 16:09 sk8dev

@maektwain can you please explain a litle more how you obtained the web uri? Thanks!

sorroman avatar Oct 05 '18 13:10 sorroman

@maektwain sorry somehow I missed your comment about iOS. yes openwith is iOS. I use openwith for iOS and Darryn Campbell's intent plugin for Android and can share text as well as urls. A bit more detail here: https://github.com/j3k0/cordova-plugin-openwith/issues/12#issuecomment-418749791

viking2917 avatar Oct 05 '18 18:10 viking2917