diff --git a/ios/RNInstabug/ArgsRegistry.m b/ios/RNInstabug/ArgsRegistry.m index 09317194a..8256141d8 100644 --- a/ios/RNInstabug/ArgsRegistry.m +++ b/ios/RNInstabug/ArgsRegistry.m @@ -14,6 +14,7 @@ + (NSMutableDictionary *) getAll { [all addEntriesFromDictionary:ArgsRegistry.recordButtonPositions]; [all addEntriesFromDictionary:ArgsRegistry.welcomeMessageStates]; [all addEntriesFromDictionary:ArgsRegistry.reportTypes]; + [all addEntriesFromDictionary:ArgsRegistry.sdkDimissReportTypes]; [all addEntriesFromDictionary:ArgsRegistry.dismissTypes]; [all addEntriesFromDictionary:ArgsRegistry.actionTypes]; [all addEntriesFromDictionary:ArgsRegistry.extendedBugReportStates]; @@ -112,6 +113,15 @@ + (ArgsDictionary *) reportTypes { }; } ++ (ArgsDictionary *) sdkDimissReportTypes { + return @{ + @"bugReportingReportTypeBug": @(IBGReportTypeBug), + @"bugReportingReportTypeFeedback": @(IBGReportTypeFeedback), + @"bugReportingReportTypeQuestion": @(IBGReportTypeQuestion), + @"bugReportingReportTypeOther": @(IBGReportTypeOther), + }; +} + + (ArgsDictionary *) dismissTypes { return @{ @"dismissTypeSubmit": @(IBGDismissTypeSubmit),