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

Privacy Manifests for named Firebase SDKs #12407

Merged
merged 25 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d4232ac
Wire up manifests to CoreInternal, Core, CoreExtension
ncooke3 Feb 5, 2024
2f21123
Populate manifests for FirebaseCore*
ncooke3 Feb 13, 2024
b0106fa
Wire up manifests to Crashlytics
ncooke3 Feb 12, 2024
eb99b63
Populate manifests for FirebaseCrashlytics
ncooke3 Feb 13, 2024
df344db
Wire up manifests to RemoteConfig
ncooke3 Feb 5, 2024
4ac5f72
Fix resource bundle path in RC podspec
ncooke3 Feb 14, 2024
6ba970e
Populate manifests for FirebaseRemoteConfig
ncooke3 Feb 14, 2024
800a82f
Wire up manifests to Auth
ncooke3 Feb 5, 2024
82f29d7
Populate manifests for FirebaseAuth
ncooke3 Feb 14, 2024
879f6fb
Wire up manifests to FDL
ncooke3 Feb 5, 2024
3f31a3e
Populate manifests for FirebaseDynamicLinks
ncooke3 Feb 14, 2024
d9d43c2
Wire up manifests to FST Internal
ncooke3 Feb 13, 2024
3168edc
Populate manifests for FirebaseFirestoreInternal
ncooke3 Feb 14, 2024
d869850
Wire up manifests to FST
ncooke3 Feb 5, 2024
0993d09
Populate manifests for FirebaseFirestore
ncooke3 Feb 14, 2024
345f69d
Wire up manifests to Messaging
ncooke3 Feb 5, 2024
4510404
Populate manifests for FirebaseMessaging
ncooke3 Feb 14, 2024
fa14c49
Wire up manifests to ABTesting
ncooke3 Feb 5, 2024
591f9e3
Populate manifests for FirebaseABTesting
ncooke3 Feb 14, 2024
d6ed357
Wire up manifests to FIS
ncooke3 Feb 5, 2024
443b90a
Populate manifests for FirebaseInstallations
ncooke3 Feb 14, 2024
3a35972
Remove extra commas
ncooke3 Feb 16, 2024
aec0ce7
Fix error causes type resolution failure
ncooke3 Feb 18, 2024
d52a175
Fix Firestore bits
ncooke3 Feb 18, 2024
db8f912
Force zip builder to run
paulb777 Feb 23, 2024
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
2 changes: 2 additions & 0 deletions .github/workflows/zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- '.github/workflows/zip.yml'
- 'scripts/build_non_firebase_sdks.sh'
- 'Gemfile*'
# DELETE BEFORE pushing
- 'FirebaseCore.podspec'
ncooke3 marked this conversation as resolved.
Show resolved Hide resolved
# Don't run based on any markdown only changes.
- '!ReleaseTooling/*.md'
schedule:
Expand Down
66 changes: 66 additions & 0 deletions Crashlytics/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCrashData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

3 changes: 3 additions & 0 deletions FirebaseABTesting.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
'Interop/Analytics/Public/*.h',
'FirebaseCore/Extension/*.h',
]
s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseABTesting/Sources/Resources/PrivacyInfo.xcprivacy'
}
s.requires_arc = base_dir + '*.m'
s.public_header_files = base_dir + 'Public/FirebaseABTesting/*.h'
s.pod_target_xcconfig = {
Expand Down
18 changes: 18 additions & 0 deletions FirebaseABTesting/Sources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
</array>
</dict>
</plist>

3 changes: 3 additions & 0 deletions FirebaseAuth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ supports email and password accounts, as well as several 3rd party authenticatio
'FirebaseAuth/Interop/*.h',
]
s.public_header_files = source + 'Public/FirebaseAuth/*.h'
s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseAuth/Sources/Resources/PrivacyInfo.xcprivacy'
}
s.preserve_paths = [
'FirebaseAuth/README.md',
'FirebaseAuth/CHANGELOG.md'
Expand Down
50 changes: 50 additions & 0 deletions FirebaseAuth/Sources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

4 changes: 4 additions & 0 deletions FirebaseCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
'FirebaseCore/Extension/*.h'
]

s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseCore/Sources/Resources/PrivacyInfo.xcprivacy'
}

s.swift_version = '5.3'

s.public_header_files = 'FirebaseCore/Sources/Public/FirebaseCore/*.h'
Expand Down
18 changes: 18 additions & 0 deletions FirebaseCore/Extension/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
</array>
</dict>
</plist>

26 changes: 26 additions & 0 deletions FirebaseCore/Internal/Sources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>1C8F.1</string>
</array>
</dict>
</array>
</dict>
</plist>

26 changes: 26 additions & 0 deletions FirebaseCore/Sources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

4 changes: 4 additions & 0 deletions FirebaseCoreExtension.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ Pod::Spec.new do |s|
s.source_files = 'FirebaseCore/Extension/*.[hm]'
s.public_header_files = 'FirebaseCore/Extension/*.h'

s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseCore/Extension/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseCore', '~> 10.0'
end
4 changes: 4 additions & 0 deletions FirebaseCoreInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Pod::Spec.new do |s|
'FirebaseCore/Internal/Sources/**/*.swift'
]

s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseCore/Internal/Sources/Resources/PrivacyInfo.xcprivacy'
}

s.swift_version = '5.3'

s.dependency 'GoogleUtilities/NSData+zlib', '~> 7.8'
Expand Down
4 changes: 4 additions & 0 deletions FirebaseCrashlytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Pod::Spec.new do |s|
'Interop/Analytics/Public/*.h',
]

s.resource_bundles = {
"#{s.module_name}_Privacy" => 'Crashlytics/Resources/PrivacyInfo.xcprivacy'
}

s.public_header_files = [
'Crashlytics/Crashlytics/Public/FirebaseCrashlytics/*.h'
]
Expand Down
3 changes: 3 additions & 0 deletions FirebaseDynamicLinks.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Firebase Dynamic Links are deep links that enhance user experience and increase
'FirebaseCore/Extension/*.h',
]
s.public_header_files = 'FirebaseDynamicLinks/Sources/Public/FirebaseDynamicLinks/*.h'
s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseDynamicLinks/Sources/Resources/PrivacyInfo.xcprivacy'
}
s.frameworks = 'QuartzCore'
s.weak_framework = 'WebKit'
s.dependency 'FirebaseCore', '~> 10.0'
Expand Down
46 changes: 46 additions & 0 deletions FirebaseDynamicLinks/Sources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>1C8F.1</string>
</array>
</dict>
</array>
</dict>
</plist>

3 changes: 3 additions & 0 deletions FirebaseFirestore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
'FirebaseFirestoreInternal/**/*.[mh]',
'Firestore/Swift/Source/**/*.swift',
]
s.resource_bundles = {
"#{s.module_name}_Privacy" => 'Firestore/Swift/Source/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseCore', '~> 10.0'
s.dependency 'FirebaseCoreExtension', '~> 10.0'
Expand Down
4 changes: 4 additions & 0 deletions FirebaseFirestoreInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
'Firestore/core/src/util/secure_random_openssl.cc'
]

s.resource_bundles = {
"#{s.module_name}_Privacy" => 'Firestore/Source/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseAppCheckInterop', '~> 10.17'
s.dependency 'FirebaseCore', '~> 10.0'

Expand Down
3 changes: 3 additions & 0 deletions FirebaseInstallations.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ Pod::Spec.new do |s|
s.public_header_files = [
base_dir + 'Library/Public/FirebaseInstallations/*.h',
]
s.resource_bundles = {
"#{s.module_name}_Privacy" => 'FirebaseInstallations/Source/Library/Resources/PrivacyInfo.xcprivacy'
}

s.framework = 'Security'
s.dependency 'FirebaseCore', '~> 10.0'
Expand Down
Loading
Loading