diff --git a/ios/Classes/MopPlugin.m b/ios/Classes/MopPlugin.m index f117aed..9218c7f 100644 --- a/ios/Classes/MopPlugin.m +++ b/ios/Classes/MopPlugin.m @@ -144,8 +144,8 @@ static MopPlugin *_instance; } else if ([@"updateLanguage" isEqualToString:call.method]) { NSLog(@"updateLanguage"); - NSString cCode = call.arguments[@"countryCode"]; - NSString cLang = call.arguments[@"languageCode"]; + NSString *cCode = call.arguments[@"countryCode"]; + NSString *cLang = call.arguments[@"languageCode"]; [PhizLanguageData sharedInstance].countryCode = cCode; [PhizLanguageData sharedInstance].languageCode = cLang; }