Skip to content

Commit aa24acf

Browse files
committed
Added PrivacyInfo.xcprivacy
1 parent d34be19 commit aa24acf

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

Cordova.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Pod::Spec.new do |s|
3737
s.frameworks = 'Foundation'
3838
s.source_files = 'CordovaLib/**/*.{h,m}'
3939
s.public_header_files = 'CordovaLib/include/**/*.h'
40+
s.resource_bundles = { "Cordova" => ["CordovaLib/PrivacyInfo.xcprivacy"] }
4041
end
4142

4243
#

CordovaLib/PrivacyInfo.xcprivacy

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
-->
20+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
21+
<plist version="1.0">
22+
<dict>
23+
<key>NSPrivacyTracking</key>
24+
<false/>
25+
<key>NSPrivacyCollectedDataTypes</key>
26+
<array/>
27+
<key>NSPrivacyAccessedAPITypes</key>
28+
<array/>
29+
<key>NSPrivacyTrackingDomains</key>
30+
<array/>
31+
</dict>
32+
</plist>

Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ let package = Package(
3535
name: "Cordova",
3636
path: "CordovaLib/",
3737
exclude: ["Cordova/Cordova.h", "Cordova/Info.plist"],
38+
resources: [
39+
.copy("PrivacyInfo.xcprivacy")
40+
],
3841
cSettings: [
3942
.headerSearchPath("Classes/Private")
4043
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-ios",
3-
"version": "7.0.2.6-dev",
3+
"version": "7.0.2.7-dev",
44
"description": "cordova-ios release",
55
"types": "./types/index.d.ts",
66
"main": "lib/Api.js",

0 commit comments

Comments
 (0)