You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Backtrace Cocoa Release Notes
2
2
3
+
## Version 1.6.1
4
+
- Allows default file attachments which will be sent for all live reports as well as crash reports
5
+
- This allows sending file attachments with crash reports
6
+
3
7
## Version 1.6.0
4
8
- Support for Out of memory detection - Backtrace-cocoa now allows to send information about low memory warnings that application received before application was killed by operating system.
5
9
- Backtrace-cocoa sets `error.type` attribute that our users can use to filter specific type of reports generated by libraries. List of possible error.types:
@@ -13,8 +17,7 @@
13
17
- Allows injecting an instance of PLCrashReporter.
14
18
- Resolves the compilation issue on Xcode 10.
15
19
16
-
## Version 1.5.5
20
+
## Version 1.5.5
17
21
- Fix issue in Xcode 11 caused by URLSession response being captured before initialization.
18
22
- Fix dangling pointer - use withUnsafeMutableBytes in order to explicitly convert the argument to buffer pointer valid for a defined scope.
19
23
- Update dependencies, Fastfile and Travis CI configuration.
Set attributes are attached to each report. You can specify unique set of attributes for specific report in `willSend(_:)` method of `BacktraceClientDelegate`. See [events handling](#documentation-events-handling) for more information.
For each report you can attach files by supplying an array of file paths.
337
+
### For crash reports/all reports <a name="documentation-attachments-all"></a>
338
+
339
+
You can specify file attachments to be sent with every report (including crash reports). File attachments are specified as a `Dictonary` where the keys are a `String` containing the filename (including the extension), and the values are a `URL` containing the path to the file.
340
+
- Swift
341
+
```swift
342
+
guard let libraryDirectoryUrl = try? FileManager.default.url(
Supplied files are attached for each report. You can specify unique set of files for specific report in `willSend(_:)` method of `BacktraceClientDelegate`. See [events handling](#documentation-events-handling) for more information.
387
+
Supplied files are attached for each report. You can specify a unique set of files for specific reports in the `willSend(_:)` method of `BacktraceClientDelegate`. See [events handling](#documentation-events-handling) for more information.
351
388
352
389
## Sending an error report <a name="documentation-sending-report"></a>
353
390
Registered `BacktraceClient` will be able to send a crash reports. Error report is automatically generated based.
@@ -443,4 +480,3 @@ Make sure your project is configured to generate the debug symbols:
* Zip all the `dSYM` files and upload to Backtrace services (see: <a href="https://help.backtrace.io/product-guide/symbolification">Symbolification</a>)
0 commit comments