Skip to content
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

Just doesn't work on my S4 anymore #7

Open
kaansoral opened this issue Jan 9, 2015 · 5 comments
Open

Just doesn't work on my S4 anymore #7

kaansoral opened this issue Jan 9, 2015 · 5 comments

Comments

@kaansoral
Copy link

The plugin is there, yet there are no errors / or success on .paste (and no device error logs, window exceptions etc)
It used to work before

I have a hunch a clean slate might fix the issue, yet I haven't tested it yet

@kaansoral
Copy link
Author

I also tested it on a Galaxy W, doesn't work on that either, there are no errors or anything else

The same code works on iOS

@kaansoral
Copy link
Author

Well, it seems the PluginResult.Status.NO_RESULT isn't handled, it would be better if that was an error too

A wrapper that will wait 3 seconds and check whether there is a callback or not will fix the issue for me

It would also be great if the text was simplified if it was in formats other than plain text, because it seems anything copied of the browsers isn't plain text, that's what confused me in the first place

@dcousens
Copy link

@kaansoral I'm not sure I follow, if you understand the problem could you submit a PR?

@kaansoral
Copy link
Author

Since it was a long time ago, I forgot what the issue was exactly, but it's probably related to copying HTML or something similar, if it's not plain text, I'm guessing the plugin didn't handle it - or something similar

@fishie
Copy link

fishie commented Mar 31, 2016

Can confirm this issue. This is because the plugin sends no result if there aren't any clips with mimetype text/plain but getText works fine with mimetypes of text/html as well.

This seems to be fixed in the allentv fork: https://github.com/allentv/CordovaClipboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants