Fix instrumentación: snapshot_added también con valor inicial en AddSourceView (build 85) #39
El snapshot creado desde el valor inicial no registraba snapshot_added en Firebase — el funnel de activación quedaba infracontado justo tras el cambio de la 1.6.1 que empuja a ese camino. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VXtwQP6nYnbLFVqsHiTK5G
This commit is contained in:
@@ -181,6 +181,12 @@ struct AddSourceView: View {
|
||||
date: Date(),
|
||||
value: value
|
||||
)
|
||||
// Instrument like AddSnapshotView does — without this, snapshots
|
||||
// created via the initial value never count in the activation funnel.
|
||||
FirebaseService.shared.logSnapshotAdded(
|
||||
sourceName: name.trimmingCharacters(in: .whitespaces),
|
||||
value: value
|
||||
)
|
||||
hasInitialSnapshot = true
|
||||
} else {
|
||||
hasInitialSnapshot = false
|
||||
|
||||
Reference in New Issue
Block a user