-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy pathInstabugBugReportingBridge.h
54 lines (35 loc) · 1.63 KB
/
InstabugBugReportingBridge.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// InstabugBugReportingBridge.h
// RNInstabug
//
// Created by Salma Ali on 7/30/19.
// Copyright © 2019 instabug. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#import <Instabug/IBGTypes.h>
#import <Instabug/IBGBugReporting.h>
@interface InstabugBugReportingBridge : RCTEventEmitter <RCTBridgeModule>
/*
+------------------------------------------------------------------------+
| BugReporting Module |
+------------------------------------------------------------------------+
*/
- (void)setEnabled:(BOOL)isEnabled;
- (void)setInvocationEvents:(NSArray *)invocationEventsArray;
- (void)setOptions:(NSArray *)optionsArray;
- (void)setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop;
- (void)setOnInvokeHandler:(RCTResponseSenderBlock)callBack;
- (void)setOnSDKDismissedHandler:(RCTResponseSenderBlock)callBack;
- (void)setShakingThresholdForiPhone:(double)iPhoneShakingThreshold;
- (void)setShakingThresholdForiPad:(double)iPadShakingThreshold;
- (void)setExtendedBugReportMode:(IBGExtendedBugReportMode)extendedBugReportMode;
- (void)setReportTypes:(NSArray *)types;
- (void)show:(IBGBugReportingReportType)type options:(NSArray *)options;
- (void)setAutoScreenRecordingEnabled:(BOOL)enabled;
- (void)setAutoScreenRecordingDuration:(CGFloat)duration;
- (void)setViewHierarchyEnabled:(BOOL)viewHirearchyEnabled;
- (void)setDisclaimerText:(NSString *)text;
- (void)setCommentMinimumCharacterCount:(NSNumber *)limit reportTypes:(NSArray *)reportTypes;
@end