Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add privacy manifest #121

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"object": {
"pins": [
{
"package": "ASN1Swift",
"repositoryURL": "https://github.com/tikhop/ASN1Swift",
"state": {
"branch": null,
"revision": "177417b6bf89431a0750ee640012b6aed8961c6a",
"version": "1.2.5"
}
"pins" : [
{
"identity" : "asn1swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tikhop/ASN1Swift",
"state" : {
"revision" : "4e525ca3064fd45751b80c9ae6a2c16ea7b395e9",
"version" : "1.2.6"
}
]
},
"version": 1
}
],
"version" : 2
}
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ let package = Package(
dependencies: ["ASN1Swift"],
path: "Sources",
exclude: ["Bundle+Private.swift", "Objc/InAppReceipt+Objc.swift"],
resources: [.process("AppleIncRootCertificate.cer"), .process("StoreKitTestCertificate.cer")]
resources: [.process("AppleIncRootCertificate.cer"),
.process("StoreKitTestCertificate.cer"),
.process("PrivacyInfo.xcprivacy")]
),
.target(
name: "TPInAppReceipt-Objc",
Expand Down
14 changes: 14 additions & 0 deletions Sources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>
6 changes: 3 additions & 3 deletions TPInAppReceipt.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "TPInAppReceipt"
s.version = "3.4.0"
s.version = "3.4.1"
s.summary = "Reading and Validating In App Purchase Receipt Locally"
s.description = "A lightweight iOS/OSX library for reading and validating Apple In App Purchase Receipt locally. Pure swift, No OpenSSL!"

Expand All @@ -23,8 +23,8 @@ Pod::Spec.new do |s|
s.subspec 'Core' do |core|
core.exclude_files = "Sources/Objc/*.{swift}"
core.source_files = "Sources/*.{swift}"
core.resources = "Sources/AppleIncRootCertificate.cer", "Sources/StoreKitTestCertificate.cer"
core.dependency 'ASN1Swift', '~> 1.2.5'
core.resources = "Sources/AppleIncRootCertificate.cer", "Sources/StoreKitTestCertificate.cer", "Source/PrivacyInfo.xcprivacy"
core.dependency 'ASN1Swift', '~> 1.2.6'
end

s.subspec 'Objc' do |objc|
Expand Down