File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,6 @@ module.exports = {
48
48
Instabug . dismiss ( ) ;
49
49
} ,
50
50
51
- /**
52
- * Attaches a file to each report being sent.
53
- * A new copy of the file at fileLocation will be attached with each bug
54
- * report being sent.
55
- * Each call to this method overrides the file to be attached.
56
- * The file has to be available locally at the provided path.
57
- * @param {string } fileLocation Path to a file that's going to be attached
58
- * to each report.
59
- */
60
- // Not yet tested
61
- setFileAttachment : function ( fileLocation ) {
62
- Instabug . setFileAttachment ( fileLocation ) ;
63
- } ,
64
-
65
51
/**
66
52
* Attaches user data to each report being sent.
67
53
* Each call to this method overrides the user data to be attached.
@@ -720,14 +706,6 @@ module.exports = {
720
706
Instabug . setPromptOptionsEnabled ( chat , bug , feedback ) ;
721
707
} ,
722
708
723
- /**
724
- * Clears all Uris of the attached files.
725
- * The URIs which added via {@link Instabug#addFileAttachment} API not the physical files.
726
- */
727
- clearFileAttachment : function ( ) {
728
- Instabug . clearFileAttachment ( ) ;
729
- } ,
730
-
731
709
/**
732
710
* The event used to invoke the feedback form
733
711
* @readonly
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ - (dispatch_queue_t)methodQueue {
196
196
}
197
197
}
198
198
199
- RCT_EXPORT_METHOD (setPromptOptions :(BOOL )bugReportEnabled
199
+ RCT_EXPORT_METHOD (setPromptOptionsEnabled :(BOOL )bugReportEnabled
200
200
feedback:(BOOL )feedbackEnabled
201
201
chat:(BOOL )chatEnabled) {
202
202
[Instabug setPromptOptionsEnabledWithBug: bugReportEnabled
You can’t perform that action at this time.
0 commit comments