Skip to content

Commit

Permalink
Merge pull request #11 from shortcut/main
Browse files Browse the repository at this point in the history
Add Privacy Manifest (#8)
  • Loading branch information
ardian4 committed Feb 27, 2024
2 parents 1bed7e3 + 4efb919 commit 8697df5
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ let package = Package(
name: "TSMobileAnalytics",
dependencies: [],
resources: [
.copy("TestData/SyncResponse.json")
.copy("TestData/SyncResponse.json"),
.copy("PrivacyInfo.xcprivacy")
]),
.testTarget(
name: "TSMobileAnalyticsTests",
Expand Down
36 changes: 36 additions & 0 deletions Sources/TSMobileAnalytics/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http:https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
3 changes: 3 additions & 0 deletions release-notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ using Kantar Sifo’s services. The SDK contains three folders:

RELEASE NOTES:

6.0.1 2024-02-27
- Add Privacy Manifest

6.0.0 2023-11-29
- Complete Swift refactor of SDK
- No API changes
Expand Down

0 comments on commit 8697df5

Please sign in to comment.