stefalda / ReactNativeLocalization

Class to localize the ReactNative interface
MIT License
898 stars 123 forks source link

TypeError: undefined is not an object (evaluating 'valuesForPlaceholders[0][matchedKey]') #208

Open yogendrajs opened 2 years ago

yogendrajs commented 2 years ago

I've been using 'react-native-localization' with the following configuration in package.json file -

"react-native": "0.64.2",
"react-native-localization": "^2.1.7"

but keep getting this error. A screenshot from the emulator has been attached. Let me know if anyone faces a similar issue & has found a workaround to get it through.

Screenshot 2021-09-08 at 7 16 30 PM

Possible Callstack here-

Screenshot 2021-09-08 at 7 20 48 PM
allanzi commented 2 years ago

Same case here

allanzi commented 2 years ago

After debug here, I was call the formatString and passing undefined in second param