Skip to content

Commit b45776b

Browse files
committed
Revert "✨ [Android] Added Locale and Welcome Message enums"
This reverts commit 56df243.
1 parent 9300cf2 commit b45776b

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

android/src/main/java/com/instabug/instabugflutter/InstabugFlutterPlugin.java

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -107,48 +107,6 @@ public Map<String, Object> getConstants() {
107107
constants.put("InvocationEvent.twoFingersSwipeLeft", InstabugInvocationEvent.TWO_FINGER_SWIPE_LEFT);
108108
constants.put("InvocationEvent.floatingButton", InstabugInvocationEvent.FLOATING_BUTTON);
109109
constants.put("InvocationEvent.shake", InstabugInvocationEvent.SHAKE);
110-
111-
constants.put("WelcomeMessageMode.live", WelcomeMessage.State.LIVE);
112-
constants.put("WelcomeMessageMode.beta", WelcomeMessage.State.BETA);
113-
constants.put("WelcomeMessageMode.disabled", WelcomeMessage.State.DISABLED);
114-
115-
constants.put("Locale.Arabic",
116-
new Locale(InstabugLocale.ARABIC.getCode(), InstabugLocale.ARABIC.getCountry()));
117-
constants.put("Locale.ChineseSimplified",
118-
new Locale(InstabugLocale.SIMPLIFIED_CHINESE.getCode(), InstabugLocale.SIMPLIFIED_CHINESE.getCountry()));
119-
constants.put("Locale.ChineseTraditional",
120-
new Locale(InstabugLocale.TRADITIONAL_CHINESE.getCode(), InstabugLocale.TRADITIONAL_CHINESE.getCountry()));
121-
constants.put("Locale.Czech",
122-
new Locale(InstabugLocale.CZECH.getCode(), InstabugLocale.CZECH.getCountry()));
123-
constants.put("Locale.Danish",
124-
new Locale(InstabugLocale.DANISH.getCode(), InstabugLocale.DANISH.getCountry()));
125-
constants.put("Locale.Dutch",
126-
new Locale(InstabugLocale.NETHERLANDS.getCode(), InstabugLocale.NETHERLANDS.getCountry()));
127-
constants.put("Locale.English",
128-
new Locale(InstabugLocale.ENGLISH.getCode(), InstabugLocale.ENGLISH.getCountry()));
129-
constants.put("Locale.French",
130-
new Locale(InstabugLocale.FRENCH.getCode(), InstabugLocale.FRENCH.getCountry()));
131-
constants.put("Locale.German",
132-
new Locale(InstabugLocale.GERMAN.getCode(), InstabugLocale.GERMAN.getCountry()));
133-
constants.put("Locale.Italian",
134-
new Locale(InstabugLocale.ITALIAN.getCode(), InstabugLocale.ITALIAN.getCountry()));
135-
constants.put("Locale.Japanese",
136-
new Locale(InstabugLocale.JAPANESE.getCode(), InstabugLocale.JAPANESE.getCountry()));
137-
constants.put("Locale.Korean",
138-
new Locale(InstabugLocale.KOREAN.getCode(), InstabugLocale.KOREAN.getCountry()));
139-
constants.put("Locale.Polish",
140-
new Locale(InstabugLocale.POLISH.getCode(), InstabugLocale.POLISH.getCountry()));
141-
constants.put("Locale.PortugueseBrazil",
142-
new Locale(InstabugLocale.PORTUGUESE_BRAZIL.getCode(), InstabugLocale.PORTUGUESE_BRAZIL.getCountry()));
143-
constants.put("Locale.Russian",
144-
new Locale(InstabugLocale.RUSSIAN.getCode(), InstabugLocale.RUSSIAN.getCountry()));
145-
constants.put("Locale.Spanish",
146-
new Locale(InstabugLocale.SPANISH.getCode(), InstabugLocale.SPANISH.getCountry()));
147-
constants.put("Locale.Swedish",
148-
new Locale(InstabugLocale.SWEDISH.getCode(), InstabugLocale.SWEDISH.getCountry()));
149-
constants.put("Locale.Turkish",
150-
new Locale(InstabugLocale.TURKISH.getCode(), InstabugLocale.TURKISH.getCountry()));
151-
152110
return constants;
153111
}
154112
}

0 commit comments

Comments
 (0)