Open
Description
Feature Request
Description
At the moment the clipboard plugin only returns one element on read()
method, but the clipboard could contain more elements as seen on https://github.com/ionic-team/capacitor/issues/6736, not only of the same type, they could also have different types (urls, images, text)
Platform(s)
ios
android
web
Preferred Solution
Add a new method readAll()
(or similar name) that returns an array with all the elements in the clipboard
Alternatives
Modify the read()
method to return an array of ReadResult
instead of a single ReadResult
, but that would be breaking, so should wait for next major release.