Skip to content

Commit

Permalink
Merge pull request #862 from algolia/chore/apple-privacy-manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluf22 authored Apr 26, 2024
2 parents 80a5c26 + 147fc20 commit 4334c90
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
1 change: 1 addition & 0 deletions AlgoliaSearchClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ Pod::Spec.new do |spec|
spec.swift_version = "5.1"
spec.source = { :git => "https://github.com/algolia/algoliasearch-client-swift.git", :tag => spec.version }
spec.source_files = "Sources/AlgoliaSearchClient/**/*.swift"
spec.resource_bundles = { 'AlgoliaSearchClient' => ['PrivacyInfo.xcprivacy']}
end
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ let package = Package(
.target(
name: "AlgoliaSearchClient",
dependencies: [
] + extraTargetDependencies),
] + extraTargetDependencies,
resources: [
.copy("../../PrivacyInfo.xcprivacy")
]),
.testTarget(
name: "AlgoliaSearchClientTests",
dependencies: [
Expand Down
40 changes: 40 additions & 0 deletions PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?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>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>

0 comments on commit 4334c90

Please sign in to comment.