Skip to content

Commit

Permalink
Privacy info (#120)
Browse files Browse the repository at this point in the history
* Breadcrumb overflow

* Version update

* Fix a problem with invalid breadcrumb file size

* Add support for remove subrange

* Updated changelog

* Privacy info file

* Privacy info file

* Update package
  • Loading branch information
konraddysput authored Feb 1, 2024
1 parent 0583f2c commit 3b555b2
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Backtrace.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = "Backtrace"
s.version = "2.0.2"
s.version = "2.0.3"
s.swift_version = '5'
s.summary = "Backtrace's integration with iOS, macOS and tvOS"
s.description = "Reliable crash and hang reporting for iOS, macOS and tvOS."
Expand Down
3 changes: 3 additions & 0 deletions Backtrace.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Backtrace Cocoa Release Notes

## Version 2.0.3
- Added PrivacyInfo.xcprivacy

## Version 2.0.2
- Fixed infinity loop generated by the breadcrumb overflow
- Adjusted device.model attribute - now the attribute shows device model, rather than the model id
Expand Down
52 changes: 52 additions & 0 deletions PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCrashData</string>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Sources/Features/Attributes/DefaultAttributes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ struct LibInfo: AttributesSource {
private static let applicationGuidKey = "backtrace.unique.user.identifier"
private static let applicationLangName = "backtrace-cocoa"

var backtraceVersion = "2.0.2"
var backtraceVersion = "2.0.3"

var immutable: [String: Any?] {
return ["guid": LibInfo.guid(store: UserDefaultsStore.self).uuidString,
Expand Down

0 comments on commit 3b555b2

Please sign in to comment.