Open
Description
Bug Report
I have code like the following:
Clipboard.read()
.then(({ value: value_, type }) => {
console.log('### got clipboard value:\n', value_, type);
If the following text is in the clipboard, it reads it in it's entireity:
Good Girl, Bad Blood: The Sequel to A Good Girl's Guide to Murder https://a.co/d/cUvlnDs
If the following text is in the clipboard, it only reads the first line:
Good Girl, Bad Blood: The Sequel to A Good Girl's Guide to Murder
https://a.co/d/cUvlnDs
ie only Good Girl, Bad Blood: The Sequel to A Good Girl's Guide to Murder
is returned.
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 5.2.1
@capacitor/core: 5.2.1
@capacitor/android: 5.2.1
@capacitor/ios: 5.2.1
Installed Dependencies:
@capacitor/cli: 4.8.1
@capacitor/core: 4.8.1
@capacitor/android: 4.8.1
@capacitor/ios: 4.8.1
[success] iOS looking great! 👌
[success] Android looking great! 👌```
### Platform(s)
<!--
List the platforms that this bug affects.
-->
ios
### Current Behavior
<!--
Describe how the bug manifests. Be specific.
-->
I get the text:
Good Girl, Bad Blood: The Sequel to A Good Girl's Guide to Murder
### Expected Behavior
<!--
Describe what the behavior should be.
-->
I get the full text:
Good Girl, Bad Blood: The Sequel to A Good Girl's Guide to Murder
https://a.co/d/cUvlnDs
### Code Reproduction
<!--
To isolate the cause of the problem, we ask you to provide a minimal sample application that demonstrates the issue.
For full instructions, see: https://github.com/ionic-team/capacitor/blob/HEAD/CONTRIBUTING.md#creating-a-code-reproduction
-->
Clipboard.read()
.then(({ value: value_, type }) => {
console.log('### got clipboard value:\n', value_, type);
### Other Technical Details
<!--
Please provide the following information with your request and any other relevant technical details (versions of IDEs, local environment info, plugin information or links, etc).
-->
`npm --version` output: 9.6.6
`node --version` output: v18.16.0
`pod --version` output (iOS issues only): 1.12.1
### Additional Context
<!--
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc.
-->