Skip to content

Commit f932d66

Browse files
committed
v6.3
1 parent 5296bd9 commit f932d66

27 files changed

+97
-16
lines changed

Instabug.framework/Headers/Instabug.h

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2016 by Instabug, Inc., all rights reserved.
77
8-
Version: 6.2.1
8+
Version: 6.3
99
*/
1010

1111
#import <Foundation/Foundation.h>
@@ -72,13 +72,32 @@ NS_ASSUME_NONNULL_BEGIN
7272
/**
7373
@brief Attaches a file to each report being sent.
7474
75-
@discussion A new copy of the file at fileLocation will be attached with each bug report being sent.
76-
Each call to this method overrides the file to be attached.
77-
The file has to be available locally at the provided path.
75+
@deprecated Starting from v6.3, use `setFileAttachmentWithURL:` instead.
76+
77+
@discussion A new copy of the file at fileURL will be attached with each bug report being sent. The file is only copied
78+
at the time of sending the report, so you could safely call this API whenever the file is available on disk, and the copy
79+
attached to your bug reports will always contain that latest changes at the time of sending the report.
80+
81+
Each call to this method overrides the file to be attached, and the file has to be available locally at the provided
82+
path when the report is being sent.
7883
7984
@param fileLocation Path to a file that's going to be attached to each report.
8085
*/
81-
+ (void)setFileAttachment:(NSString *)fileLocation;
86+
+ (void)setFileAttachment:(NSString *)fileLocation DEPRECATED_MSG_ATTRIBUTE("Starting from v6.3, use setFileAttachmentWithURL: instead.");;
87+
88+
/**
89+
@brief Attaches a file to each report being sent.
90+
91+
@discussion A new copy of the file at fileURL will be attached with each bug report being sent. The file is only copied
92+
at the time of sending the report, so you could safely call this API whenever the file is available on disk, and the copy
93+
attached to your bug reports will always contain that latest changes at the time of sending the report.
94+
95+
Each call to this method overrides the file to be attached, and the file has to be available locally at the provided
96+
path when the report is being sent.
97+
98+
@param fileURL Path to a file that's going to be attached to each report.
99+
*/
100+
+ (void)setFileAttachmentWithURL:(NSURL *)fileURL;
82101

83102
/**
84103
@brief Attaches user data to each report being sent.
@@ -102,6 +121,38 @@ NS_ASSUME_NONNULL_BEGIN
102121
*/
103122
+ (void)setUserStepsEnabled:(BOOL)isUserStepsEnabled;
104123

124+
/**
125+
@brief Sets whether to log network requests or not.
126+
127+
@discussion When enabled, Instabug will automtically log all network requests and responses. Logs are attached to
128+
each report being sent and are available on your Instabug dashboard.
129+
130+
Networking logging is enabled by default if it's available in your current plan.
131+
132+
@param isNetworkLoggingEnabled A boolean to set network logging to be enabled to disabled.
133+
*/
134+
+ (void)setNetworkLoggingEnabled:(BOOL)isNetworkLoggingEnabled;
135+
136+
/**
137+
@brief Specify an NSPredicate to be used to omit certain requests from being logged.
138+
139+
@discussion Predicate will be matched against an `NSURLRequest`. This can be used to filter out requests to a specific
140+
domain for example.
141+
142+
@param filterPredicate An NSPredicate to match against an NSURLRequest. Matching requests will be omitted.
143+
*/
144+
+ (void)setNetworkLoggingFilterPredicate:(NSPredicate *)filterPredicate;
145+
146+
/**
147+
@brief Enable logging for network requests and responses on a custom NSURLSessionConfiguration.
148+
149+
@discussion Logging for network requests and responses may not work if you're using a custom `NSURLSession` object.
150+
If this is the case, call this method passing in your custom NSURLSessions's configuration to enable logging for it.
151+
152+
@param URLSessionConfiguration The NSURLSessionConfiguration of your custom NSURLSession.
153+
*/
154+
+ (void)enableLoggingForURLSessionConfiguration:(NSURLSessionConfiguration *)URLSessionConfiguration;
155+
105156
/**
106157
@brief Sets whether to track and report crashes or not.
107158

Instabug.framework/Info.plist

0 Bytes
Binary file not shown.

Instabug.framework/Instabug

499 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)