Skip to content

Commit

Permalink
Merge pull request #205 from superwall/feature/privacy-manifest
Browse files Browse the repository at this point in the history
Adds privacy manifest
  • Loading branch information
yusuftor committed Apr 9, 2024
2 parents fe532a1 + 3245c7e commit 5f3d2e2
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,12 @@

The changelog for `SuperwallKit`. Also see the [releases](https://github.com/superwall/Superwall-iOS/releases) on GitHub.

## 3.6.1

### Enhancements

- Adds privacy manifest.

## 3.6.0

### Enhancements
Expand Down
3 changes: 2 additions & 1 deletion Package.swift
Expand Up @@ -26,7 +26,8 @@ let package = Package(
dependencies: [],
exclude: ["Resources/BundleHelper.swift"],
resources: [
.process("Resources/Certificates")
.process("Resources/Certificates"),
.copy("Resources/PrivacyInfo.xcprivacy")
]
),
.testTarget(
Expand Down
2 changes: 1 addition & 1 deletion Sources/SuperwallKit/Misc/Constants.swift
Expand Up @@ -18,5 +18,5 @@ let sdkVersion = """
*/

let sdkVersion = """
3.6.0
3.6.1
"""
34 changes: 34 additions & 0 deletions Sources/SuperwallKit/Resources/PrivacyInfo.xcprivacy
@@ -0,0 +1,34 @@
<?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>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePurchaseHistory</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
5 changes: 3 additions & 2 deletions SuperwallKit.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SuperwallKit"
s.version = "3.6.0"
s.version = "3.6.1"
s.summary = "Superwall: In-App Paywalls Made Easy"
s.description = "Paywall infrastructure for mobile apps :) we make things like editing your paywall and running price tests as easy as clicking a few buttons. superwall.com"

Expand Down Expand Up @@ -43,7 +43,8 @@ Pod::Spec.new do |s|
'SuperwallKit' => [
"Sources/SuperwallKit/**/*.xcassets",
"Sources/SuperwallKit/**/*.xcdatamodeld",
"Sources/SuperwallKit/**/*.cer"
"Sources/SuperwallKit/**/*.cer",
"Sources/SuperwallKit/**/PrivacyInfo.xcprivacy"
]
}

Expand Down
7 changes: 0 additions & 7 deletions project.yml
@@ -1,10 +1,6 @@
name: SuperwallKit
options:
bundleIdentifer: com.superwall
packages:
ASN1Swift:
url: https://github.com/tikhop/ASN1Swift
from: 1.2.4

targets:
SuperwallKit:
Expand Down Expand Up @@ -32,16 +28,13 @@ targets:
platform: iOS
deploymentTarget: "13.0"
sources: [Sources/]
dependencies:
- package: ASN1Swift
SuperwallKitTests:
scheme: {}
sources: [Tests/]
type: bundle.unit-test
platform: iOS
dependencies:
- target: SuperwallKit
- package: ASN1Swift
settings:
PRODUCT_BUNDLE_IDENTIFIER: "com.superwall.SuperwallTests"

Expand Down

0 comments on commit 5f3d2e2

Please sign in to comment.