File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
android/src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 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) {
10151015 e .printStackTrace ();
10161016 }
10171017 }
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- }
10251018
10261019 /**
10271020 * Sets the runnable that gets executed just before showing any valid survey<br/>
@@ -1246,6 +1239,14 @@ private Locale getLocaleByKey(String instabugLocale) {
12461239 }
12471240 }
12481241
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+
12491250 @ Override
12501251 public Map <String , Object > getConstants () {
12511252 final Map <String , Object > constants = new HashMap <>();
You can’t perform that action at this time.
0 commit comments