React-Native: Error setting and getting text from ClipBoard
According to the Expo documentation (https://docs.expo.io/versions/v40.0.0/sdk/clipboard/), there's a Clipboard available from their API.
Install with
expo install expo-clipboard
and use with
import * as Clipboard from 'expo-clipboard';
I too had this issue, as other users have said, Clipboard
from react-native-community
is not compatible with Expo.