diff --git a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java index 1bf7d0e..cc01bfa 100644 --- a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java +++ b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java @@ -627,6 +627,15 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule { } } + /** + * Allows you to show a predefined set of categories for users to choose + * from when reporting a bug or sending feedback. Selected category + * shows up on your Instabug dashboard as a tag to make filtering + * through issues easier. + * + * @param reportCategories the report categories list which is a list of ReportCategory model + */ + @ReactMethod public void setReportCategories(String... categoriesTitles) { try { ArrayList bugCategories = new ArrayList<>();