Skip to content

Commit

Permalink
Merge pull request #121 from tikhop/chore/privacy-info
Browse files Browse the repository at this point in the history
chore: Add privacy manifest
  • Loading branch information
tikhop committed Apr 3, 2024
2 parents 20cf626 + 69a07bc commit 81fb73a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 17 deletions.
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

0 comments on commit 81fb73a

Please sign in to comment.