From f517f9d9d3b6de4b8539ea4388b7d7b8ab758ae4 Mon Sep 17 00:00:00 2001 From: DevHossamHassan Date: Sun, 7 May 2017 05:05:36 +0200 Subject: [PATCH] Fix setUserName typo --- .../instabug/reactlibrary/RNInstabugReactnativeModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }