expo-clipboard
Version: 55.0.6 Provides an interface for getting and setting Clipboard content on Android, iOS and Web.Installation
Usage
API Reference
Methods
(text: string) => Promise<void>
Sets clipboard text
() => Promise<string>
Gets clipboard text
(text: string) => void
Sets clipboard text synchronously (deprecated)
() => string
Gets clipboard text synchronously (deprecated)
(base64Image: string) => Promise<void>
Sets clipboard image (iOS/Android)
() => Promise<string | null>
Gets clipboard image as base64 (iOS/Android)
() => Promise<boolean>
Checks if clipboard has string
() => Promise<boolean>
Checks if clipboard has image (iOS/Android)