I added react-native-device-info with npm i react-native-device-info
. I'm using React Native 0.61, so I expected that it would automatically add a line in my Podfile for RNDeviceInfo. My Podfile didn't change, BUT when I ran pod install
, it said "Installing React Native Device Info". I notice that doing this didn't add a .xcodeproj
or .a
file to Xcode.
Can anyone help me understand what's going on?
Asked
Active
Viewed 128 times
1
![](../../users/profiles/12149508.webp)
RNdev
- 457
- 1
- 10
1 Answers
0
You have to go node_modules folder, and find react-native-device-info folder and final step is remove RNDeviceInfo.podspec file. I recommended you copy RNDeviceInfo.podspec file before removing.
![](../../users/profiles/1069024.webp)
Mansur İşçel
- 1
- 1