Skip to content

Commit 03439c9

Browse files
Include a privacy manifest file (#359)
1 parent af4a6b8 commit 03439c9

File tree

5 files changed

+41
-9
lines changed

5 files changed

+41
-9
lines changed

OktaOidc.podspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'OktaOidc'
3-
s.version = '3.11.4'
3+
s.version = '3.11.5'
44
s.summary = 'SDK to easily integrate AppAuth with Okta'
55
s.description = <<-DESC
66
Integrate your native app with Okta using the AppAuth library.
@@ -21,6 +21,7 @@ Integrate your native app with Okta using the AppAuth library.
2121
s.subspec 'Okta' do |okta|
2222
okta.dependency 'OktaOidc/AppAuth'
2323
okta.source_files = 'Sources/OktaOidc/**/*.{h,swift}'
24+
okta.resources = 'Sources/OktaOidc/Common/Resources/**/*'
2425
okta.exclude_files = 'Sources/OktaOidc/Common/Exports.swift'
2526
okta.ios.deployment_target = '11.0'
2627
okta.osx.deployment_target = '10.14'

Package.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.3
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
/*
@@ -38,6 +38,9 @@ let package = Package(
3838
.target(name: "OktaOidc",
3939
dependencies: [
4040
"OktaOidc_AppAuth"
41+
],
42+
resources: [
43+
.process("Common/Resources")
4144
]),
4245
] + [
4346
.target(name: "TestCommon",

Sources/AppAuth/OktaUserAgent.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ +(void)setUserAgentValue:(NSString*)value {
2222
}
2323

2424
+(NSString*)userAgentVersion {
25-
return @"3.11.4";
25+
return @"3.11.5";
2626
}
2727

2828
+(NSString*)userAgentHeaderKey {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array/>
7+
<key>NSPrivacyTracking</key>
8+
<false/>
9+
<key>NSPrivacyTrackingDomains</key>
10+
<array/>
11+
<key>NSPrivacyCollectedDataTypes</key>
12+
<array/>
13+
</dict>
14+
</plist>

okta-oidc.xcodeproj/project.pbxproj

+20-6
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@
289289
DEBFB8E62507C52400A27026 /* OktaNetworkRequestCustomizationDelegateMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEBFB8E52507C52400A27026 /* OktaNetworkRequestCustomizationDelegateMock.swift */; };
290290
DEBFB8E82507C53600A27026 /* URLSessionMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEBFB8E72507C53600A27026 /* URLSessionMock.swift */; };
291291
DEE37AD125065C7300318DC3 /* OktaNetworkRequestCustomizationDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = E2E1F3472501868D0001DDD5 /* OktaNetworkRequestCustomizationDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
292+
E0BAF79C2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = E0BAF79A2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy */; };
293+
E0BAF79D2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = E0BAF79A2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy */; };
292294
E2E1F3482501868E0001DDD5 /* OktaNetworkRequestCustomizationDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = E2E1F3472501868D0001DDD5 /* OktaNetworkRequestCustomizationDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
293295
E2F6026625104F3000492BEC /* OktaOIDAuthStateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2F6026525104F3000492BEC /* OktaOIDAuthStateTests.swift */; };
294296
E2FB61302536779800D26EDC /* OKTAuthorizationRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = E2FB612D2536779800D26EDC /* OKTAuthorizationRequest.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -545,6 +547,7 @@
545547
DEBFB8E22507A7A000A27026 /* OIDAuthorizationServiceRequestDelegateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OIDAuthorizationServiceRequestDelegateTests.swift; sourceTree = "<group>"; };
546548
DEBFB8E52507C52400A27026 /* OktaNetworkRequestCustomizationDelegateMock.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OktaNetworkRequestCustomizationDelegateMock.swift; sourceTree = "<group>"; };
547549
DEBFB8E72507C53600A27026 /* URLSessionMock.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionMock.swift; sourceTree = "<group>"; };
550+
E0BAF79A2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
548551
E2E1F3472501868D0001DDD5 /* OktaNetworkRequestCustomizationDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OktaNetworkRequestCustomizationDelegate.h; path = include/OktaNetworkRequestCustomizationDelegate.h; sourceTree = "<group>"; };
549552
E2F6026525104F3000492BEC /* OktaOIDAuthStateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OktaOIDAuthStateTests.swift; sourceTree = "<group>"; };
550553
E2FB612D2536779800D26EDC /* OKTAuthorizationRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OKTAuthorizationRequest.h; path = include/OKTAuthorizationRequest.h; sourceTree = "<group>"; };
@@ -746,6 +749,7 @@
746749
9601C326256D980D00C084F5 /* Common */ = {
747750
isa = PBXGroup;
748751
children = (
752+
E0BAF79B2BC9AB8A009CB80C /* Resources */,
749753
A17E39BE2357C50700837873 /* Internal */,
750754
A17E397F234D5F8E00837873 /* OktaOidc.h */,
751755
2F32CB0B229D3A16003A6768 /* OktaOidc.swift */,
@@ -1007,6 +1011,14 @@
10071011
path = Internal;
10081012
sourceTree = "<group>";
10091013
};
1014+
E0BAF79B2BC9AB8A009CB80C /* Resources */ = {
1015+
isa = PBXGroup;
1016+
children = (
1017+
E0BAF79A2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy */,
1018+
);
1019+
path = Resources;
1020+
sourceTree = "<group>";
1021+
};
10101022
/* End PBXGroup section */
10111023

10121024
/* Begin PBXHeadersBuildPhase section */
@@ -1285,6 +1297,7 @@
12851297
isa = PBXResourcesBuildPhase;
12861298
buildActionMask = 2147483647;
12871299
files = (
1300+
E0BAF79C2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy in Resources */,
12881301
);
12891302
runOnlyForDeploymentPostprocessing = 0;
12901303
};
@@ -1317,6 +1330,7 @@
13171330
isa = PBXResourcesBuildPhase;
13181331
buildActionMask = 2147483647;
13191332
files = (
1333+
E0BAF79D2BC9AB8A009CB80C /* PrivacyInfo.xcprivacy in Resources */,
13201334
);
13211335
runOnlyForDeploymentPostprocessing = 0;
13221336
};
@@ -1782,7 +1796,7 @@
17821796
"@executable_path/Frameworks",
17831797
"@loader_path/Frameworks",
17841798
);
1785-
MARKETING_VERSION = 3.11.4;
1799+
MARKETING_VERSION = 3.11.5;
17861800
PRODUCT_BUNDLE_IDENTIFIER = "com.okta.okta-oidc";
17871801
PRODUCT_NAME = OktaOidc;
17881802
SKIP_INSTALL = YES;
@@ -1812,7 +1826,7 @@
18121826
"@executable_path/Frameworks",
18131827
"@loader_path/Frameworks",
18141828
);
1815-
MARKETING_VERSION = 3.11.4;
1829+
MARKETING_VERSION = 3.11.5;
18161830
PRODUCT_BUNDLE_IDENTIFIER = "com.okta.okta-oidc";
18171831
PRODUCT_NAME = OktaOidc;
18181832
SKIP_INSTALL = YES;
@@ -1834,7 +1848,7 @@
18341848
"$(inherited)",
18351849
"@executable_path/Frameworks",
18361850
);
1837-
MARKETING_VERSION = 3.11.4;
1851+
MARKETING_VERSION = 3.11.5;
18381852
PRODUCT_BUNDLE_IDENTIFIER = com.okta.Example;
18391853
PRODUCT_NAME = "$(TARGET_NAME)";
18401854
SWIFT_VERSION = 5.0;
@@ -1853,7 +1867,7 @@
18531867
"$(inherited)",
18541868
"@executable_path/Frameworks",
18551869
);
1856-
MARKETING_VERSION = 3.11.4;
1870+
MARKETING_VERSION = 3.11.5;
18571871
PRODUCT_BUNDLE_IDENTIFIER = com.okta.Example;
18581872
PRODUCT_NAME = "$(TARGET_NAME)";
18591873
SWIFT_VERSION = 5.0;
@@ -1960,7 +1974,7 @@
19601974
"@loader_path/Frameworks",
19611975
);
19621976
MACOSX_DEPLOYMENT_TARGET = 10.14;
1963-
MARKETING_VERSION = 3.11.4;
1977+
MARKETING_VERSION = 3.11.5;
19641978
PRODUCT_BUNDLE_IDENTIFIER = "com.okta.okta-oidc";
19651979
PRODUCT_NAME = OktaOidc;
19661980
SDKROOT = macosx;
@@ -1987,7 +2001,7 @@
19872001
"@loader_path/Frameworks",
19882002
);
19892003
MACOSX_DEPLOYMENT_TARGET = 10.14;
1990-
MARKETING_VERSION = 3.11.4;
2004+
MARKETING_VERSION = 3.11.5;
19912005
PRODUCT_BUNDLE_IDENTIFIER = "com.okta.okta-oidc";
19922006
PRODUCT_NAME = OktaOidc;
19932007
SDKROOT = macosx;

0 commit comments

Comments
 (0)