Skip to content

Commit

Permalink
Add PrivacyInfo.xcprivacy
Browse files Browse the repository at this point in the history
  • Loading branch information
tung-vu-td committed Apr 23, 2024
1 parent 7ffe8ec commit 69ddb4e
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
9 changes: 5 additions & 4 deletions KeenClientTD.podspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
Pod::Spec.new do |spec|
spec.name = 'KeenClientTD'
spec.version = '4.1.0'
spec.license = { :type => 'MIT' }
spec.platforms = { :ios => "12.0", :tvos => "12.0" }
spec.license = { type: 'MIT' }
spec.platforms = { ios: '12.0', tvos: '12.0' }
spec.homepage = 'https://github.com/treasure-data/KeenClient-iOS'
spec.authors = { 'Mitsunori Komatsu' => 'mitsu@treasure-data.com' }
spec.summary = 'Keen iOS client library forked by TD.'
spec.description = <<-DESC
The Keen iOS client is designed to be simple to develop with, yet incredibly flexible. Our goal is to let you decide what events are important to you, use your own vocabulary to describe them, and decide when you want to send them to Keen service.
This is a forked project by TD. The original cool project is https://github.com/keenlabs/KeenClient-iOS.
DESC
spec.source = { :git => 'https://github.com/treasure-data/KeenClient-iOS.git', :tag => spec.version.to_s }
DESC
spec.source = { git: 'https://github.com/treasure-data/KeenClient-iOS.git', tag: spec.version.to_s }
spec.source_files = 'KeenClient/*.{h,m}'
s.resources = 'PrivacyInfo.xcprivacy'
spec.public_header_files = 'KeenClient/*.h'
spec.requires_arc = true

Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.3

import PackageDescription

Expand All @@ -18,8 +18,7 @@ let package = Package(
targets: [
.target(
name: "KeenClientTD",
dependencies: [
],
dependencies: [],
path: ".",
exclude: [
"KeenClient.xcodeproj/",
Expand All @@ -37,6 +36,7 @@ let package = Package(
"KeenClient/",
"Library/sqlite-amalgamation/",
],
resources: [.copy("PrivacyInfo.xcprivacy")],
publicHeadersPath: "KeenClient",
cxxSettings: [
.headerSearchPath("Library/sqlite-amalgamation"),
Expand Down
33 changes: 33 additions & 0 deletions PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?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>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit 69ddb4e

Please sign in to comment.