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

Add a privacy manifest #262

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.swiftpm/
SwiftSDK.xcworkspace/xcuserdata/*
Sources/.DS_Store
14 changes: 11 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.9

import PackageDescription
import Foundation
Expand All @@ -9,10 +9,18 @@ let package = Package(
.library(name: "Backendless", targets: ["SwiftSDK"]),
],
dependencies: [
.package(name: "SocketIO", url: "https://github.com/socketio/socket.io-client-swift", from: "16.1.0")
.package(url: "https://github.com/socketio/socket.io-client-swift", from: "16.1.0")
],
targets: [
.target(name: "SwiftSDK", dependencies: ["SocketIO"]),
.target(
name: "SwiftSDK",
dependencies: [
.product(name: "SocketIO", package: "socket.io-client-swift")
],
resources: [
.process("Resources/PrivacyInfo.xcprivacy")
]
),
.testTarget(name: "SwiftSDKTests", dependencies: ["SwiftSDK"]),
]
)
Binary file removed Sources/.DS_Store
Binary file not shown.
17 changes: 17 additions & 0 deletions Sources/SwiftSDK/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?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>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
</dict>
</plist>
12 changes: 12 additions & 0 deletions SwiftSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
5EFBA8FE21C1011E007B3BB0 /* BackendlessUser.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFBA8FD21C1011E007B3BB0 /* BackendlessUser.swift */; };
616D6D29EB43FDA36ECDCC01 /* Pods_SwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C23A8A3096D1AE35832C678 /* Pods_SwiftSDK.framework */; };
88851340027297D0A6E507D7 /* Pods_SwiftSDKTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3986FDD52DEAB9443660A94A /* Pods_SwiftSDKTests.framework */; };
9E8365D82BC5A20C002CEFBC /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 9E8365D62BC5A20C002CEFBC /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -359,6 +360,7 @@
5EFB60E822422F93004DFA2C /* UserInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserInfo.swift; sourceTree = "<group>"; };
5EFBA8FD21C1011E007B3BB0 /* BackendlessUser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BackendlessUser.swift; sourceTree = "<group>"; };
8C23A8A3096D1AE35832C678 /* Pods_SwiftSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9E8365D62BC5A20C002CEFBC /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
C93A606C5FDA8243A2775FCD /* Pods-SwiftSDK.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftSDK.debug.xcconfig"; path = "Target Support Files/Pods-SwiftSDK/Pods-SwiftSDK.debug.xcconfig"; sourceTree = "<group>"; };
E4D525417E11CC89EFC57858 /* Pods-SwiftSDK.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftSDK.release.xcconfig"; path = "Target Support Files/Pods-SwiftSDK/Pods-SwiftSDK.release.xcconfig"; sourceTree = "<group>"; };
E5D55024BA53159CA5811403 /* Pods-SwiftSDKTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftSDKTests.debug.xcconfig"; path = "Target Support Files/Pods-SwiftSDKTests/Pods-SwiftSDKTests.debug.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -867,6 +869,7 @@
5E03A3B822291680005A538D /* Messaging */,
5A2A784B21E6103100EC8007 /* Persistence */,
5E11113821B532BD0044CAED /* Property */,
9E8365D72BC5A20C002CEFBC /* Resources */,
5E572D4921B8042B000713B0 /* Response */,
5E9718FB221BFE3100857603 /* RT */,
5EB28E1A21B17A490007AC30 /* UserService */,
Expand All @@ -885,6 +888,14 @@
path = OpResult;
sourceTree = "<group>";
};
9E8365D72BC5A20C002CEFBC /* Resources */ = {
isa = PBXGroup;
children = (
9E8365D62BC5A20C002CEFBC /* PrivacyInfo.xcprivacy */,
);
path = Resources;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -982,6 +993,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9E8365D82BC5A20C002CEFBC /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down