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

bug: inconsistency in Clipboard.read #2365

Closed
jcesarmobile opened this issue Jan 22, 2020 · 3 comments · Fixed by #2527
Closed

bug: inconsistency in Clipboard.read #2365

jcesarmobile opened this issue Jan 22, 2020 · 3 comments · Fixed by #2527
Labels
enhancement needs discussion decisions must be made before working on it priority: high
Milestone

Comments

@jcesarmobile
Copy link
Member

on iOS the type of Clipboard.read defaults to string
on Android the type is not used
on web/electron the type is required

all platforms should behave the same way

@jcesarmobile jcesarmobile added this to the 2.0.0 milestone Jan 22, 2020
@jcesarmobile jcesarmobile added the needs discussion decisions must be made before working on it label Jan 23, 2020
@nphyatt
Copy link
Member

nphyatt commented Mar 2, 2020

what is the purpose of the type ? shouldn't it just always be a string?

@jcesarmobile
Copy link
Member Author

Type can be string, url or image

type: 'string' | 'url' | 'image';

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 12, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement needs discussion decisions must be made before working on it priority: high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants