Skip to content

Commit 32ff77f

Browse files
authored
Merge pull request #23 from bigMOTOR/feature/Privacy-Manifest
Privacy Manifest
2 parents 70b78bd + f601e3a commit 32ff77f

File tree

3 files changed

+63
-1
lines changed

3 files changed

+63
-1
lines changed

DataDrivenRxDatasources.podspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "DataDrivenRxDatasources"
3-
s.version = "3.5.3"
3+
s.version = "3.6.0"
44
s.summary = "MVVM abstraction boilerplate code over RxDataSources."
55
s.description = <<-DESC
66
DataDrivenRxDatasources - MVVM abstraction boilerplate code over RxDataSources.
@@ -42,6 +42,8 @@ tableView.rx
4242
s.ios.deployment_target = '11.0'
4343

4444
s.source_files = "Sources/DataDrivenRxDatasources/*.swift", "Sources/DataDrivenRxDatasources/**/*.swift"
45+
46+
s.resource_bundles = {"DataDrivenRxDatasources" => ["Sources/DataDrivenRxDatasources/PrivacyInfo.xcprivacy"]}
4547

4648
s.dependency 'RxSwift', '~> 6.0'
4749
s.dependency 'RxDataSources', '~> 5.0'

[email protected]

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// swift-tools-version:5.9
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "DataDrivenRxDatasources",
8+
platforms: [
9+
.iOS(.v12)
10+
],
11+
products: [
12+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
13+
.library(
14+
name: "DataDrivenRxDatasources",
15+
targets: ["DataDrivenRxDatasources"]),
16+
],
17+
dependencies: [
18+
// Dependencies declare other packages that this package depends on.
19+
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0" )),
20+
.package(url: "https://github.com/RxSwiftCommunity/RxDataSources.git", .upToNextMajor(from: "5.0.0" )),
21+
],
22+
targets: [
23+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
24+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
25+
.target(
26+
name: "DataDrivenRxDatasources",
27+
dependencies: ["RxSwift", "RxDataSources"],
28+
resources: [
29+
.copy("PrivacyInfo.xcprivacy")
30+
]
31+
),
32+
.testTarget(
33+
name: "DataDrivenRxDatasourcesTests",
34+
dependencies: ["DataDrivenRxDatasources"]),
35+
]
36+
)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<!--
4+
PrivacyInfo.xcprivacy
5+
6+
7+
Created by Mykola Fiantsev on 15.03.2024.
8+
Copyright (c) 2024 ___ORGANIZATIONNAME___. All rights reserved.
9+
10+
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests
11+
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
12+
-->
13+
<plist version="1.0">
14+
<dict>
15+
<key>NSPrivacyTracking</key>
16+
<false/>
17+
<key>NSPrivacyCollectedDataTypes</key>
18+
<array/>
19+
<key>NSPrivacyTrackingDomains</key>
20+
<array/>
21+
<key>NSPrivacyAccessedAPITypes</key>
22+
<array/>
23+
</dict>
24+
</plist>

0 commit comments

Comments
 (0)