diff --git a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java index ca8783f..5b4c71c 100644 --- a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java +++ b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java @@ -181,9 +181,9 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule { * @param username */ @ReactMethod - public void setUsername(String username) { + public void setUserName(String username) { try { - mInstabug.setUsername(username); + mInstabug.setUserName(username); } catch (Exception e) { e.printStackTrace(); }