Since the version of
@react-native-community/react-native-netinfo that supported in Expo SDK is version 2.0.10. But, v3.2.1 is available on npm.
I have tried to download v3.2.1 and call
react-native link @react-native-community/netinfo in my ejected project. But, the Xcode shows me errors
duplicate symbols while compiling. I think it is because there have an old version of
Netinfo.m in the
RCTNetwork of pod ‘React’.
How do I install the newest library in the right way?