String clipboard through One.Clipboard. Backed by UIPasteboard on iOS, ClipboardManager on Android, and navigator.clipboard on web.
import { One } from 'one'
await One.Clipboard.setString('hello')const text = await One.Clipboard.getString()const has = await One.Clipboard.hasString()setString resolves true once the string is on the pasteboard. On web, reads resolve '' and writes resolve false when the browser denies access.
Edit this page on GitHub.