Read and write text from the device global clipboard.
Read and write text using the native system clipboard. Unlike the browser navigator.clipboard API, this works reliably inside WebViews without requiring HTTPS or user gesture restrictions.
import nativine from 'nativine';
await nativine.clipboard.copy('COUPON2024');
import nativine from 'nativine';
const text = await nativine.clipboard.read();