Skip to content

Commit 62efc6b

Browse files
committed
Add Firebase Analytics dependency
1 parent 22ea449 commit 62efc6b

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

frontend/macos/Flutter/GeneratedPluginRegistrant.swift

+2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
import FlutterMacOS
66
import Foundation
77

8+
import firebase_analytics
89
import firebase_auth
910
import firebase_core
1011
import shared_preferences_foundation
1112

1213
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
14+
FLTFirebaseAnalyticsPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAnalyticsPlugin"))
1315
FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin"))
1416
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
1517
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))

frontend/pubspec.lock

+30-6
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: _flutterfire_internals
8-
sha256: "1a5e13736d59235ce0139621b4bbe29bc89839e202409081bc667eb3cd20674c"
8+
sha256: "2d8e8e123ca3675625917f535fcc0d3a50092eef44334168f9b18adc050d4c6e"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "1.3.5"
11+
version: "1.3.6"
1212
async:
1313
dependency: transitive
1414
description:
@@ -89,6 +89,30 @@ packages:
8989
url: "https://pub.dev"
9090
source: hosted
9191
version: "6.1.4"
92+
firebase_analytics:
93+
dependency: "direct main"
94+
description:
95+
name: firebase_analytics
96+
sha256: c35213b72c9dbab6a20954bb968ed70e7d9e0ea3acb3426b9d4f4a51a522cdb4
97+
url: "https://pub.dev"
98+
source: hosted
99+
version: "10.5.0"
100+
firebase_analytics_platform_interface:
101+
dependency: transitive
102+
description:
103+
name: firebase_analytics_platform_interface
104+
sha256: "9a8bdbf5345de01f7f1905c9ab6f9bff0b7fd739620d68c16b3b3b639b487dc3"
105+
url: "https://pub.dev"
106+
source: hosted
107+
version: "3.7.0"
108+
firebase_analytics_web:
109+
dependency: transitive
110+
description:
111+
name: firebase_analytics_web
112+
sha256: da79ab9c1e32c389cd6224939a0437a9e074783e3f2b51e9dc6d850d769d9af8
113+
url: "https://pub.dev"
114+
source: hosted
115+
version: "0.5.5"
92116
firebase_auth:
93117
dependency: "direct main"
94118
description:
@@ -117,10 +141,10 @@ packages:
117141
dependency: "direct main"
118142
description:
119143
name: firebase_core
120-
sha256: c78132175edda4bc532a71e01a32964e4b4fcf53de7853a422d96dac3725f389
144+
sha256: "675c209c94a1817649137cbd113fc4c9ae85e48d03dd578629abbec6d8a4d93d"
121145
url: "https://pub.dev"
122146
source: hosted
123-
version: "2.15.1"
147+
version: "2.16.0"
124148
firebase_core_platform_interface:
125149
dependency: transitive
126150
description:
@@ -133,10 +157,10 @@ packages:
133157
dependency: transitive
134158
description:
135159
name: firebase_core_web
136-
sha256: "4cf4d2161530332ddc3c562f19823fb897ff37a9a774090d28df99f47370e973"
160+
sha256: e8c408923cd3a25bd342c576a114f2126769cd1a57106a4edeaa67ea4a84e962
137161
url: "https://pub.dev"
138162
source: hosted
139-
version: "2.7.0"
163+
version: "2.8.0"
140164
flutter:
141165
dependency: "direct main"
142166
description: flutter

frontend/pubspec.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dependencies:
4242
graphview: ^1.2.0
4343
firebase_core: ^2.15.1
4444
firebase_auth: ^4.9.0
45+
firebase_analytics: ^10.5.0
4546
google_sign_in: ^6.1.5
4647
uuid: ^4.0.0
4748

0 commit comments

Comments
 (0)