Open marqroldan opened 4 years ago
@marqroldan hi, you need add country to method options
VersionCheck.needUpdate({ country: 'ru', })
I went through the code and found out that the country was based on a current locale (for iOS):
- (NSString*) country
{
return [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode] ?: @"";
}
And it return empty string for me)
@kimxogus hi, please add default country options or change method get country for iOS)))
Shouldn't the current locale / country be the one selected as accessing the app stores would be based on where they are? Or is it based on the nationality of the account?
Edit: I haven't had time to thoroughly check on the issue and instead just added a check if the resolved value is an object or not
We experience the same issue
yarn add
and i call pod install
for auto-linkingAny update for this Issue?
up
I did a quick check on the code and it seems like it's correct that it's returning an object which is why I find it weird. It seems to happen whenever there's an interruption with the internet connection or general internet problem. Will dig further