@react-native-community/clipboard
has been changed to @react-native-clipboard/clipboard
.
Now installation process should be:
$ yarn add react-native-otp-inputs @react-native-clipboard/clipboard
Clipboard
has been extracted fromreact-native
core as part of Lean Core. Now this module uses Clipboard. Additional steps needed are:
$ yarn add @react-native-community/clipboard
$ npx pod-install
For android, the package will be linked automatically on build.
For React Native version 0.59 or older
run the following command to link the package:
$ react-native link @react-native-community/clipboard
For iOS, make sure you install the pod file.
cd ios && pod install && cd ..
or you could follow the instructions to manually link the project