I want to link a library in react native version 0.70.1 but I got a error error: unknown command ‘link’ after trying this command react-native link react-native-notification-sounds
2
Linking is automatic since React Native 0.60. So no need to run react-native link.
react-native link
After installing the library –
npm run android
npx pod-install ios npm run ios
"link" command in React native has been deprecated in version 69, instead you can go for :
npm i react-native-asset or yarn add react-native-asset
Click here to cancel reply.
2
Answers
Linking is automatic since React Native 0.60. So no need to run
react-native link
.After installing the library –
"link" command in React native has been deprecated in version 69, instead you can go for :