How do I prevent react-native-device-info causing React ambiguity on my setup?
问题 I'm running into a problem with installing react-native-device-info into an existing react-native project (created using create-react-native-app and then ejecting) I run: yarn add react-native-device-info yarn install react-native link react-native-device-info cd ios && pod install & cd .. pod install installs RNDeviceInfo , but also React as a dependency? I then run yarn ios as normal. The MetroBundler fails with: ``` This warning is caused by a @providesModule declaration with the same name