Skip to content

Commit

Permalink
Added Privacy Manifest to RollbarNotifier (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
matux authored Apr 22, 2024
1 parent 8f22dec commit 18439fb
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Release Notes

### 3.3.0

- Added Privacy Manifest to fulfill the new SDK privacy requirements from Apple.

### 3.2.1

- Fixed extra data not being correctly set in the outgoing payload when sending custom Swift errors.
Expand Down
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ let package = Package(
"RollbarCrash",
"RollbarReport"
],
path: "RollbarNotifier/Sources/RollbarNotifier"
path: "RollbarNotifier/Sources/RollbarNotifier",
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.target(
name: "RollbarDeploys",
Expand Down
1 change: 1 addition & 0 deletions Rollbar.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Pod::Spec.new do |s|
s.public_header_files =
"RollbarNotifier/Sources/RollbarCrash/include/*.h",
"RollbarNotifier/Sources/RollbarNotifier/include/*.h"
s.resource_bundles = { "RollbarNotifier" => "RollbarNotifier/Sources/RollbarNotifier/PrivacyInfo.xcprivacy" }
s.module_map =
"RollbarNotifier/Sources/RollbarCrash/include/module.modulemap",
"RollbarNotifier/Sources/RollbarNotifier/include/module.modulemap"
Expand Down
1 change: 1 addition & 0 deletions RollbarNotifier.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Pod::Spec.new do |s|
s.module_name = "RollbarNotifier"
s.source_files = "#{s.name}/Sources/#{s.name}/**/*.{h,m}"
s.public_header_files = "#{s.name}/Sources/#{s.name}/include/*.h"
s.resource_bundles = { "RollbarNotifier" => "RollbarNotifier/Sources/RollbarNotifier/PrivacyInfo.xcprivacy" }
s.module_map = "#{s.name}/Sources/#{s.name}/include/module.modulemap"

s.framework = "Foundation"
Expand Down
3 changes: 2 additions & 1 deletion RollbarNotifier/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ let package = Package(
"RollbarCrash",
"RollbarReport"
],
path: "Sources/RollbarNotifier"
path: "Sources/RollbarNotifier",
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "RollbarReportTests",
Expand Down
94 changes: 94 additions & 0 deletions RollbarNotifier/Sources/RollbarNotifier/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCrashData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePerformanceData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</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>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>7D9E.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit 18439fb

Please sign in to comment.