diff --git a/GoogleSignIn.podspec b/GoogleSignIn.podspec
index d8407e90..1bae2140 100644
--- a/GoogleSignIn.podspec
+++ b/GoogleSignIn.podspec
@@ -33,9 +33,9 @@ The Google Sign-In SDK allows users to sign in with their Google account from th
]
s.ios.framework = 'UIKit'
s.osx.framework = 'AppKit'
- s.dependency 'AppAuth', '~> 1.6'
- s.dependency 'GTMAppAuth', '~> 4.0'
- s.dependency 'GTMSessionFetcher/Core', '>= 1.1', '< 4.0'
+ s.dependency 'AppAuth', '>= 1.7.3', '< 2.0'
+ s.dependency 'GTMAppAuth', '>= 4.1.1', '< 5.0'
+ s.dependency 'GTMSessionFetcher/Core', '~> 3.3'
s.resource_bundle = {
'GoogleSignIn' => ['GoogleSignIn/Sources/{Resources,Strings}/*']
}
@@ -55,7 +55,7 @@ The Google Sign-In SDK allows users to sign in with their Google account from th
]
unit_tests.requires_app_host = true
unit_tests.dependency 'OCMock'
- unit_tests.dependency 'GoogleUtilities/MethodSwizzler', '~> 7.2'
- unit_tests.dependency 'GoogleUtilities/SwizzlerTestHelpers', '~> 7.2'
+ unit_tests.dependency 'GoogleUtilities/MethodSwizzler', '~> 7.13'
+ unit_tests.dependency 'GoogleUtilities/SwizzlerTestHelpers', '~> 7.13'
end
end
diff --git a/GoogleSignIn/Sources/Resources/PrivacyInfo.xcprivacy b/GoogleSignIn/Sources/Resources/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..010fc335
--- /dev/null
+++ b/GoogleSignIn/Sources/Resources/PrivacyInfo.xcprivacy
@@ -0,0 +1,122 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyTrackingDomains
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeName
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeEmailAddress
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypePhoneNumber
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeOtherDataTypes
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeCoarseLocation
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeUserID
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeDeviceID
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeOtherUsageData
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyAccessedAPITypes
+
+
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+
+
+
+
diff --git a/GoogleSignInSwift/Sources/Resources/PrivacyInfo.xcprivacy b/GoogleSignInSwift/Sources/Resources/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..d37d6275
--- /dev/null
+++ b/GoogleSignInSwift/Sources/Resources/PrivacyInfo.xcprivacy
@@ -0,0 +1,14 @@
+
+
+
+
+ NSPrivacyCollectedDataTypes
+
+ NSPrivacyAccessedAPITypes
+
+ NSPrivacyTrackingDomains
+
+ NSPrivacyTracking
+
+
+
diff --git a/GoogleSignInSwiftSupport.podspec b/GoogleSignInSwiftSupport.podspec
index dbe1d7bf..9d4a5315 100644
--- a/GoogleSignInSwiftSupport.podspec
+++ b/GoogleSignInSwiftSupport.podspec
@@ -25,6 +25,9 @@ Pod::Spec.new do |s|
'SwiftUI',
]
s.dependency 'GoogleSignIn', '~> 7.0'
+ s.resource_bundles = {
+ 'GoogleSignInSwiftSupport_Privacy' => 'GoogleSignInSwift/Sources/Resources/PrivacyInfo.xcprivacy'
+ }
s.test_spec 'unit' do |unit_tests|
unit_tests.platforms = {
:ios => ios_deployment_target,
diff --git a/Package.swift b/Package.swift
index 8b498cc2..9c450811 100644
--- a/Package.swift
+++ b/Package.swift
@@ -44,15 +44,15 @@ let package = Package(
.package(
name: "AppAuth",
url: "https://github.com/openid/AppAuth-iOS.git",
- "1.6.0" ..< "2.0.0"),
+ from: "1.7.3"),
.package(
name: "GTMAppAuth",
url: "https://github.com/google/GTMAppAuth.git",
- from: "4.0.0"),
+ from: "4.1.1"),
.package(
name: "GTMSessionFetcher",
url: "https://github.com/google/gtm-session-fetcher.git",
- "1.5.0" ..< "4.0.0"),
+ from: "3.3.0"),
.package(
name: "OCMock",
url: "https://github.com/firebase/ocmock.git",
@@ -60,7 +60,7 @@ let package = Package(
.package(
name: "GoogleUtilities",
url: "https://github.com/google/GoogleUtilities.git",
- "7.3.0" ..< "8.0.0"),
+ from: "7.13.0"),
],
targets: [
.target(
@@ -95,7 +95,10 @@ let package = Package(
dependencies: [
"GoogleSignIn",
],
- path: "GoogleSignInSwift/Sources"
+ path: "GoogleSignInSwift/Sources",
+ resources: [
+ .copy("Resources/PrivacyInfo.xcprivacy")
+ ]
),
.testTarget(
name: "GoogleSignIn-UnitTests",