Closed dannyconnell closed 7 years ago
Firstly, thanks for your hard work on this plugin, it's worked great for me in iOS 10 and below.
However, since iOS 11 came out, the copy function no longer works as expected. For example, if I do the following:
cordova.plugins.clipboard.copy('password');
And then open the Facebook app on iOS 11, tap and hold on the password field and tap 'Paste':
Then nothing gets pasted:
If I then open the default iOS Notes app and attempt to paste there, instead of the plain text being pasted, I get this "text" object pasted:
However, in some apps, such as the default iOS Mail app, the text will be pasted as expected:
Is there any chance this could be fixed? Or does anyone know of a workaround?
Thanks.
Never mind, I fixed it by following the advice in this issue:
Firstly, thanks for your hard work on this plugin, it's worked great for me in iOS 10 and below.
However, since iOS 11 came out, the copy function no longer works as expected. For example, if I do the following:
cordova.plugins.clipboard.copy('password');
And then open the Facebook app on iOS 11, tap and hold on the password field and tap 'Paste':
Then nothing gets pasted:
If I then open the default iOS Notes app and attempt to paste there, instead of the plain text being pasted, I get this "text" object pasted:
However, in some apps, such as the default iOS Mail app, the text will be pasted as expected:
Is there any chance this could be fixed? Or does anyone know of a workaround?
Thanks.