File tree 1 file changed +8
-7
lines changed
android/src/main/java/com/instabug/reactlibrary
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -1015,13 +1015,6 @@ public void setIntroMessageEnabled(boolean enabled) {
1015
1015
e .printStackTrace ();
1016
1016
}
1017
1017
}
1018
- private void sendEvent (ReactApplicationContext reactContext ,
1019
- String eventName ,
1020
- @ Nullable WritableMap params ) {
1021
- reactContext
1022
- .getJSModule (DeviceEventManagerModule .RCTDeviceEventEmitter .class )
1023
- .emit (eventName , params );
1024
- }
1025
1018
1026
1019
/**
1027
1020
* Sets the runnable that gets executed just before showing any valid survey<br/>
@@ -1246,6 +1239,14 @@ private Locale getLocaleByKey(String instabugLocale) {
1246
1239
}
1247
1240
}
1248
1241
1242
+ private void sendEvent (ReactApplicationContext reactContext ,
1243
+ String eventName ,
1244
+ @ Nullable WritableMap params ) {
1245
+ reactContext
1246
+ .getJSModule (DeviceEventManagerModule .RCTDeviceEventEmitter .class )
1247
+ .emit (eventName , params );
1248
+ }
1249
+
1249
1250
@ Override
1250
1251
public Map <String , Object > getConstants () {
1251
1252
final Map <String , Object > constants = new HashMap <>();
You can’t perform that action at this time.
0 commit comments