ReactNativeLocalization
ReactNativeLocalization copied to clipboard
TypeError: language.indexOf is not a function
TypeError: language.indexOf is not a function
at Object.getBestMatchingLanguage (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:110836:24)
at LocalizedStrings.setLanguage (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:110635:34)
at _callee$ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:96001:36)
at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25666:19)
at Generator.invoke [as _invoke] (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25841:24)
at Generator.prototype.
"react": "16.9.0", "react-native": "0.61.5", "react-native-localization": "^2.1.6",
let lang=AsyncStorage.getItem(Constants.Language) Languages.setLanguage(lang ? lang : 'kr')
@kishansbs did you fix this issue ?