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 = {
4848 Instabug . dismiss ( ) ;
4949 } ,
5050
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-
6551 /**
6652 * Attaches user data to each report being sent.
6753 * Each call to this method overrides the user data to be attached.
@@ -720,14 +706,6 @@ module.exports = {
720706 Instabug . setPromptOptionsEnabled ( chat , bug , feedback ) ;
721707 } ,
722708
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-
731709 /**
732710 * The event used to invoke the feedback form
733711 * @readonly
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ - (dispatch_queue_t)methodQueue {
196196 }
197197}
198198
199- RCT_EXPORT_METHOD (setPromptOptions :(BOOL )bugReportEnabled
199+ RCT_EXPORT_METHOD (setPromptOptionsEnabled :(BOOL )bugReportEnabled
200200 feedback:(BOOL )feedbackEnabled
201201 chat:(BOOL )chatEnabled) {
202202 [Instabug setPromptOptionsEnabledWithBug: bugReportEnabled
You can’t perform that action at this time.
0 commit comments