File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
android/src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -529,38 +529,6 @@ private InstabugInvocationEvent getInvocationEventById(String invocationEventVal
529529 }
530530 }
531531
532- /**
533- * Sets the default edge at which the floating button will be shown
534- *
535- * @param instabugFloatingButtonEdge edge to stick Floating button to
536- * @see InstabugFloatingButtonEdge
537- */
538-
539- @ ReactMethod
540- public void setFloatingButtonEdge (String floatingButtonEdgeValue ) {
541- try {
542- mInstabug .setFloatingButtonEdge (getFloatingButtonEdge (floatingButtonEdgeValue ));
543- } catch (Exception e ) {
544- e .printStackTrace ();
545- }
546- }
547-
548- private InstabugFloatingButtonEdge getFloatingButtonEdge (String floatingButtonEdgeValue ) {
549- InstabugFloatingButtonEdge floatingButtonEdge = InstabugFloatingButtonEdge .RIGHT ;
550- try {
551- if (floatingButtonEdgeValue .equals (FLOATING_BUTTON_EDGE_LEFT )) {
552- floatingButtonEdge = InstabugFloatingButtonEdge .LEFT ;
553- } else if (floatingButtonEdgeValue .equals (FLOATING_BUTTON_EDGE_RIGHT )) {
554- floatingButtonEdge = InstabugFloatingButtonEdge .RIGHT ;
555- }
556-
557- return invocationEvent ;
558- } catch (Exception e ) {
559- e .printStackTrace ();
560- return invocationEvent ;
561- }
562- }
563-
564532 /**
565533 * Enabled/disable chat notification
566534 *
You can’t perform that action at this time.
0 commit comments