react-native-i18n icon indicating copy to clipboard operation
react-native-i18n copied to clipboard

not correctly linked warning

Open kdastan opened this issue 6 years ago • 4 comments

'react-native-i18n module is not correctly linked' warning displays even if I try to link step by step as in README instruction.

Does anyone had this issue ?

kdastan avatar May 29 '18 07:05 kdastan

hello @kdastan , i use [email protected] and it works like a charm for me. Is the problem on Android or iOS or both ?

Did you restart the app after the library installation ? (via xcode or react-native run-ios) Is the library correctly linked in the Build Phases ?

capture d ecran 2018-06-06 a 17 01 46

padupuy avatar Jun 06 '18 15:06 padupuy

Apparently running react-native link only adds a reference to RNI18n to the Podfile. You still need to run pod install afterwards. At least that's how I fixed it.

Also I had to add React and yoga to the podfile as described in https://github.com/AlexanderZaytsev/react-native-i18n/issues/170#issuecomment-390004481, otherwise the app crashed on startup.

leonid-shevtsov avatar Aug 20 '18 09:08 leonid-shevtsov

@kdastan did you resolve this issue?

I think that problem start exist when RN switched completely on expo-cli... On newly created project I have this problem...

Env:

react-native-cli: 2.0.1
react-native: 0.55.4
expo: 2.2.0
react-native-i18n: 2.0.12 (I also tried with the newest version - same problem)

milosh012 avatar Oct 11 '18 12:10 milosh012