Add missed  switch case keywords
@@ -432,6 +432,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
private Locale getLocaleByKey(String instabugLocale) {
String localeInLowerCase = instabugLocale.toLowerCase();
+ switch (localeInLowerCase) {
case LOCALE_ARABIC:
return new Locale(InstabugLocale.ARABIC.getCode(), InstabugLocale.ARABIC.getCountry());
case LOCALE_ENGLISH:
@@ -467,6 +468,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
default:
return new Locale(InstabugLocale.ENGLISH.getCode(), InstabugLocale.ENGLISH.getCountry());
}
+ }
@Override
public Map<String, Object> getConstants() {
