We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743e847 commit 0b98badCopy full SHA for 0b98bad
ios/RNInstabug/InstabugReactBridge.m
@@ -522,6 +522,18 @@ - (dispatch_queue_t)methodQueue {
522
[IBGFeatureRequests setEmailFieldRequired:isEmailFieldRequired forAction:actionTypes];
523
}
524
525
+RCT_EXPORT_METHOD(setEmailFieldRequiredForFeatureRequests:(BOOL)isEmailFieldRequired
526
+ forAction:(NSArray *)actionTypesArray) {
527
+ IBGAction actionTypes = 0;
528
+
529
+ for (NSNumber *boxedValue in actionTypesArray) {
530
+ actionTypes |= [boxedValue intValue];
531
+ }
532
533
+ [IBGFeatureRequests setEmailFieldRequired:false forAction:actionTypes];
534
+}
535
536
537
RCT_EXPORT_METHOD(isRunningLive:(RCTResponseSenderBlock)callback) {
538
BOOL result = NO;
539
#if TARGET_OS_SIMULATOR
0 commit comments