Skip to content

Commit 967bea4

Browse files
authored
Merge pull request #63 from firebase/feat/update-analytics
feat: Update analytics example
2 parents 1cdd634 + b8b5843 commit 967bea4

File tree

10 files changed

+406
-277
lines changed

10 files changed

+406
-277
lines changed

analytics/ios/Podfile.lock

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
PODS:
2+
- Firebase/Analytics (10.18.0):
3+
- Firebase/Core
4+
- Firebase/Core (10.18.0):
5+
- Firebase/CoreOnly
6+
- FirebaseAnalytics (~> 10.18.0)
7+
- Firebase/CoreOnly (10.18.0):
8+
- FirebaseCore (= 10.18.0)
9+
- firebase_analytics (10.7.4):
10+
- Firebase/Analytics (= 10.18.0)
11+
- firebase_core
12+
- Flutter
13+
- firebase_core (2.24.2):
14+
- Firebase/CoreOnly (= 10.18.0)
15+
- Flutter
16+
- FirebaseAnalytics (10.18.0):
17+
- FirebaseAnalytics/AdIdSupport (= 10.18.0)
18+
- FirebaseCore (~> 10.0)
19+
- FirebaseInstallations (~> 10.0)
20+
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
21+
- GoogleUtilities/MethodSwizzler (~> 7.11)
22+
- GoogleUtilities/Network (~> 7.11)
23+
- "GoogleUtilities/NSData+zlib (~> 7.11)"
24+
- nanopb (< 2.30910.0, >= 2.30908.0)
25+
- FirebaseAnalytics/AdIdSupport (10.18.0):
26+
- FirebaseCore (~> 10.0)
27+
- FirebaseInstallations (~> 10.0)
28+
- GoogleAppMeasurement (= 10.18.0)
29+
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
30+
- GoogleUtilities/MethodSwizzler (~> 7.11)
31+
- GoogleUtilities/Network (~> 7.11)
32+
- "GoogleUtilities/NSData+zlib (~> 7.11)"
33+
- nanopb (< 2.30910.0, >= 2.30908.0)
34+
- FirebaseCore (10.18.0):
35+
- FirebaseCoreInternal (~> 10.0)
36+
- GoogleUtilities/Environment (~> 7.12)
37+
- GoogleUtilities/Logger (~> 7.12)
38+
- FirebaseCoreInternal (10.19.0):
39+
- "GoogleUtilities/NSData+zlib (~> 7.8)"
40+
- FirebaseInstallations (10.19.0):
41+
- FirebaseCore (~> 10.0)
42+
- GoogleUtilities/Environment (~> 7.8)
43+
- GoogleUtilities/UserDefaults (~> 7.8)
44+
- PromisesObjC (~> 2.1)
45+
- Flutter (1.0.0)
46+
- GoogleAppMeasurement (10.18.0):
47+
- GoogleAppMeasurement/AdIdSupport (= 10.18.0)
48+
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
49+
- GoogleUtilities/MethodSwizzler (~> 7.11)
50+
- GoogleUtilities/Network (~> 7.11)
51+
- "GoogleUtilities/NSData+zlib (~> 7.11)"
52+
- nanopb (< 2.30910.0, >= 2.30908.0)
53+
- GoogleAppMeasurement/AdIdSupport (10.18.0):
54+
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.18.0)
55+
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
56+
- GoogleUtilities/MethodSwizzler (~> 7.11)
57+
- GoogleUtilities/Network (~> 7.11)
58+
- "GoogleUtilities/NSData+zlib (~> 7.11)"
59+
- nanopb (< 2.30910.0, >= 2.30908.0)
60+
- GoogleAppMeasurement/WithoutAdIdSupport (10.18.0):
61+
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
62+
- GoogleUtilities/MethodSwizzler (~> 7.11)
63+
- GoogleUtilities/Network (~> 7.11)
64+
- "GoogleUtilities/NSData+zlib (~> 7.11)"
65+
- nanopb (< 2.30910.0, >= 2.30908.0)
66+
- GoogleUtilities/AppDelegateSwizzler (7.12.0):
67+
- GoogleUtilities/Environment
68+
- GoogleUtilities/Logger
69+
- GoogleUtilities/Network
70+
- GoogleUtilities/Environment (7.12.0):
71+
- PromisesObjC (< 3.0, >= 1.2)
72+
- GoogleUtilities/Logger (7.12.0):
73+
- GoogleUtilities/Environment
74+
- GoogleUtilities/MethodSwizzler (7.12.0):
75+
- GoogleUtilities/Logger
76+
- GoogleUtilities/Network (7.12.0):
77+
- GoogleUtilities/Logger
78+
- "GoogleUtilities/NSData+zlib"
79+
- GoogleUtilities/Reachability
80+
- "GoogleUtilities/NSData+zlib (7.12.0)"
81+
- GoogleUtilities/Reachability (7.12.0):
82+
- GoogleUtilities/Logger
83+
- GoogleUtilities/UserDefaults (7.12.0):
84+
- GoogleUtilities/Logger
85+
- nanopb (2.30909.1):
86+
- nanopb/decode (= 2.30909.1)
87+
- nanopb/encode (= 2.30909.1)
88+
- nanopb/decode (2.30909.1)
89+
- nanopb/encode (2.30909.1)
90+
- PromisesObjC (2.3.1)
91+
92+
DEPENDENCIES:
93+
- firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
94+
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
95+
- Flutter (from `Flutter`)
96+
97+
SPEC REPOS:
98+
trunk:
99+
- Firebase
100+
- FirebaseAnalytics
101+
- FirebaseCore
102+
- FirebaseCoreInternal
103+
- FirebaseInstallations
104+
- GoogleAppMeasurement
105+
- GoogleUtilities
106+
- nanopb
107+
- PromisesObjC
108+
109+
EXTERNAL SOURCES:
110+
firebase_analytics:
111+
:path: ".symlinks/plugins/firebase_analytics/ios"
112+
firebase_core:
113+
:path: ".symlinks/plugins/firebase_core/ios"
114+
Flutter:
115+
:path: Flutter
116+
117+
SPEC CHECKSUMS:
118+
Firebase: 414ad272f8d02dfbf12662a9d43f4bba9bec2a06
119+
firebase_analytics: 88c111412070acc2b05c1734151f58824f3db657
120+
firebase_core: 0af4a2b24f62071f9bf283691c0ee41556dcb3f5
121+
FirebaseAnalytics: 4d310b35c48eaa4a058ddc04bdca6bdb5dc0fe80
122+
FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f
123+
FirebaseCoreInternal: b444828ea7cfd594fca83046b95db98a2be4f290
124+
FirebaseInstallations: 033d199474164db20c8350736842a94fe717b960
125+
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
126+
GoogleAppMeasurement: 70ce9aa438cff1cfb31ea3e660bcc67734cb716e
127+
GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34
128+
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
129+
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
130+
131+
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
132+
133+
COCOAPODS: 1.13.0

analytics/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1515
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
1616
D3B02FEB221099260580D72C /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = C02AF3E732EC80F14BCD14C0 /* GoogleService-Info.plist */; };
17+
E6F3CF31D237EBBFF5845691 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F89E0A5AD3C51CA615BA049 /* Pods_Runner.framework */; };
1718
/* End PBXBuildFile section */
1819

1920
/* Begin PBXCopyFilesBuildPhase section */
@@ -32,6 +33,7 @@
3233
/* Begin PBXFileReference section */
3334
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
3435
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
36+
1F89E0A5AD3C51CA615BA049 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3537
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
3638
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3739
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -43,20 +45,32 @@
4345
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4446
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4547
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
48+
AA71AEE6EFFDF90BE57145E7 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
49+
BD8A4F5967D5BA466DE06A4B /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
4650
C02AF3E732EC80F14BCD14C0 /* GoogleService-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = "<group>"; };
51+
ED4BD88736F02CB2EC242B8E /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
4752
/* End PBXFileReference section */
4853

4954
/* Begin PBXFrameworksBuildPhase section */
5055
97C146EB1CF9000F007C117D /* Frameworks */ = {
5156
isa = PBXFrameworksBuildPhase;
5257
buildActionMask = 2147483647;
5358
files = (
59+
E6F3CF31D237EBBFF5845691 /* Pods_Runner.framework in Frameworks */,
5460
);
5561
runOnlyForDeploymentPostprocessing = 0;
5662
};
5763
/* End PBXFrameworksBuildPhase section */
5864

5965
/* Begin PBXGroup section */
66+
7FC50CC7AD28E82035647D45 /* Frameworks */ = {
67+
isa = PBXGroup;
68+
children = (
69+
1F89E0A5AD3C51CA615BA049 /* Pods_Runner.framework */,
70+
);
71+
name = Frameworks;
72+
sourceTree = "<group>";
73+
};
6074
9740EEB11CF90186004384FC /* Flutter */ = {
6175
isa = PBXGroup;
6276
children = (
@@ -75,6 +89,8 @@
7589
97C146F01CF9000F007C117D /* Runner */,
7690
97C146EF1CF9000F007C117D /* Products */,
7791
C02AF3E732EC80F14BCD14C0 /* GoogleService-Info.plist */,
92+
BF73BF6F98B078C30A20AC8C /* Pods */,
93+
7FC50CC7AD28E82035647D45 /* Frameworks */,
7894
);
7995
sourceTree = "<group>";
8096
};
@@ -101,19 +117,32 @@
101117
path = Runner;
102118
sourceTree = "<group>";
103119
};
120+
BF73BF6F98B078C30A20AC8C /* Pods */ = {
121+
isa = PBXGroup;
122+
children = (
123+
BD8A4F5967D5BA466DE06A4B /* Pods-Runner.debug.xcconfig */,
124+
ED4BD88736F02CB2EC242B8E /* Pods-Runner.release.xcconfig */,
125+
AA71AEE6EFFDF90BE57145E7 /* Pods-Runner.profile.xcconfig */,
126+
);
127+
name = Pods;
128+
path = Pods;
129+
sourceTree = "<group>";
130+
};
104131
/* End PBXGroup section */
105132

106133
/* Begin PBXNativeTarget section */
107134
97C146ED1CF9000F007C117D /* Runner */ = {
108135
isa = PBXNativeTarget;
109136
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
110137
buildPhases = (
138+
933F29FD91B03B7D5D890C33 /* [CP] Check Pods Manifest.lock */,
111139
9740EEB61CF901F6004384FC /* Run Script */,
112140
97C146EA1CF9000F007C117D /* Sources */,
113141
97C146EB1CF9000F007C117D /* Frameworks */,
114142
97C146EC1CF9000F007C117D /* Resources */,
115143
9705A1C41CF9048500538489 /* Embed Frameworks */,
116144
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
145+
A2E250251303228EF7B40C05 /* [CP] Embed Pods Frameworks */,
117146
);
118147
buildRules = (
119148
);
@@ -130,7 +159,7 @@
130159
97C146E61CF9000F007C117D /* Project object */ = {
131160
isa = PBXProject;
132161
attributes = {
133-
LastUpgradeCheck = 1300;
162+
LastUpgradeCheck = 1430;
134163
ORGANIZATIONNAME = "";
135164
TargetAttributes = {
136165
97C146ED1CF9000F007C117D = {
@@ -180,6 +209,7 @@
180209
files = (
181210
);
182211
inputPaths = (
212+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
183213
);
184214
name = "Thin Binary";
185215
outputPaths = (
@@ -188,6 +218,28 @@
188218
shellPath = /bin/sh;
189219
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
190220
};
221+
933F29FD91B03B7D5D890C33 /* [CP] Check Pods Manifest.lock */ = {
222+
isa = PBXShellScriptBuildPhase;
223+
buildActionMask = 2147483647;
224+
files = (
225+
);
226+
inputFileListPaths = (
227+
);
228+
inputPaths = (
229+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
230+
"${PODS_ROOT}/Manifest.lock",
231+
);
232+
name = "[CP] Check Pods Manifest.lock";
233+
outputFileListPaths = (
234+
);
235+
outputPaths = (
236+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
237+
);
238+
runOnlyForDeploymentPostprocessing = 0;
239+
shellPath = /bin/sh;
240+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
241+
showEnvVarsInLog = 0;
242+
};
191243
9740EEB61CF901F6004384FC /* Run Script */ = {
192244
isa = PBXShellScriptBuildPhase;
193245
alwaysOutOfDate = 1;
@@ -203,6 +255,23 @@
203255
shellPath = /bin/sh;
204256
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
205257
};
258+
A2E250251303228EF7B40C05 /* [CP] Embed Pods Frameworks */ = {
259+
isa = PBXShellScriptBuildPhase;
260+
buildActionMask = 2147483647;
261+
files = (
262+
);
263+
inputFileListPaths = (
264+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
265+
);
266+
name = "[CP] Embed Pods Frameworks";
267+
outputFileListPaths = (
268+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
269+
);
270+
runOnlyForDeploymentPostprocessing = 0;
271+
shellPath = /bin/sh;
272+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
273+
showEnvVarsInLog = 0;
274+
};
206275
/* End PBXShellScriptBuildPhase section */
207276

208277
/* Begin PBXSourcesBuildPhase section */

analytics/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

analytics/ios/Runner.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)