Skip to content

Commit 08c1301

Browse files
authored
feat: Add Privacy Manifest (#28)
1 parent c9eac6d commit 08c1301

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let package = Package(
1717
.upToNextMajor(from: "8.0.0")),
1818
.package(name: "Firebase",
1919
url: "https://github.com/firebase/firebase-ios-sdk.git",
20-
.upToNextMajor(from: "9.0.0")),
20+
.upToNextMajor(from: "10.6.0")),
2121
],
2222
targets: [
2323
.target(
@@ -27,7 +27,7 @@ let package = Package(
2727
.product(name: "FirebaseAnalytics", package: "Firebase"),
2828
],
2929
path: "mParticle-Google-Analytics-Firebase",
30-
exclude: ["Info.plist"],
30+
exclude: ["Info.plist", "dummy.swift"],
3131
publicHeadersPath: "."),
3232
]
3333
)

mParticle-Google-Analytics-Firebase.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
1919
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
2020
s.ios.frameworks = 'CoreTelephony', 'SystemConfiguration'
2121
s.libraries = 'z'
22-
s.ios.dependency 'Firebase/Core', '~> 9.0'
22+
s.ios.dependency 'Firebase/Core', '~> 10.23'
2323

2424
end

mParticle-Google-Analytics-Firebase.xcodeproj/project.pbxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
1010
2780D0912792152200942CC7 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2780D0902792152200942CC7 /* GoogleService-Info.plist */; };
11+
53D881FD2BBD9CC40066BB30 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 53D881FC2BBD9CC40066BB30 /* PrivacyInfo.xcprivacy */; };
1112
D316BD4E217F67BC00688E56 /* MPKitFirebaseAnalytics.h in Headers */ = {isa = PBXBuildFile; fileRef = D316BD4C217F67BC00688E56 /* MPKitFirebaseAnalytics.h */; settings = {ATTRIBUTES = (Public, ); }; };
1213
D316BD4F217F67BC00688E56 /* MPKitFirebaseAnalytics.m in Sources */ = {isa = PBXBuildFile; fileRef = D316BD4D217F67BC00688E56 /* MPKitFirebaseAnalytics.m */; };
1314
D39C3DE528C78D5B00432A0C /* dummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = D39C3DE428C78D5B00432A0C /* dummy.swift */; };
@@ -79,6 +80,7 @@
7980

8081
/* Begin PBXFileReference section */
8182
2780D0902792152200942CC7 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
83+
53D881FC2BBD9CC40066BB30 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
8284
D3085197219B605900D1C15A /* OCMock.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OCMock.framework; path = Carthage/Build/iOS/OCMock.framework; sourceTree = "<group>"; };
8385
D316BD32217F670500688E56 /* mParticle_Google_Analytics_Firebase.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = mParticle_Google_Analytics_Firebase.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8486
D316BD36217F670600688E56 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -161,6 +163,7 @@
161163
D316BD36217F670600688E56 /* Info.plist */,
162164
D316BD4C217F67BC00688E56 /* MPKitFirebaseAnalytics.h */,
163165
D316BD4D217F67BC00688E56 /* MPKitFirebaseAnalytics.m */,
166+
53D881FC2BBD9CC40066BB30 /* PrivacyInfo.xcprivacy */,
164167
D39C3DE428C78D5B00432A0C /* dummy.swift */,
165168
);
166169
path = "mParticle-Google-Analytics-Firebase";
@@ -292,6 +295,7 @@
292295
isa = PBXResourcesBuildPhase;
293296
buildActionMask = 2147483647;
294297
files = (
298+
53D881FD2BBD9CC40066BB30 /* PrivacyInfo.xcprivacy in Resources */,
295299
);
296300
runOnlyForDeploymentPostprocessing = 0;
297301
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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>NSPrivacyTracking</key>
6+
<false/>
7+
<key>NSPrivacyTrackingDomains</key>
8+
<array/>
9+
<key>NSPrivacyCollectedDataTypes</key>
10+
<array>
11+
<dict/>
12+
</array>
13+
<key>NSPrivacyAccessedAPITypes</key>
14+
<array>
15+
<dict/>
16+
</array>
17+
</dict>
18+
</plist>

0 commit comments

Comments
 (0)