vstirbu / InstagramPlugin

Instagram plugin for PhoneGap/Cordova
MIT License
120 stars 78 forks source link

Caption not copying with ios11 #87

Closed albertleao closed 4 years ago

albertleao commented 6 years ago

When testing, I tried also pasting into the 'Notes' app and it seems to paste a text file that is only a few bytes large.

albertleao commented 6 years ago

Alright I figured it out. It has to do with the clipboard plugin that comes with this plugin. The issue and fix are found here: https://github.com/VersoSolutions/CordovaClipboard/issues/26

With all the changes to the clipboard on iOS, might I suggest the removal of any dependencies and leave the copy paste up to the dev?

vstirbu commented 6 years ago

Yep, removing the caption functionality is one option although a bit radical, considering how common is for the users of this plugin. It is further complicated as the clipboard plugin is not actually maintained.

Is your fork backwards compatible? Can you make a PR?

Thanks

albertleao commented 6 years ago

It's working on ios11, I'm going to test it on ios 9 and 10 tonight and will let you know.

albertleao commented 6 years ago

https://github.com/Visigo/CordovaClipboard/pull/2

Seems like it will be fixed for now. I do recommend thinking about pulling the clipboard out though. Maybe bump it up by a full version. It just makes the library a little fragile when an outside source like that can stop working overnight.

mreis92 commented 6 years ago

Hi there, I have encountered this problem as well. Is there any known workaround I can implement for this?