on-internet
← Community

FIrebase for iOS not logging custom events

Stack Overflow ·

Recently I have added Firebase to my project to add event tracking. The problem is that I can not log custom events. I have enabled Analytics at firebase I have added the GoogleService-Info file I have enabled Firebase debug flag for my scheme I have implemented a class to encapsulate Firebase analytics stuff I call FirebaseApp.configure() and Firebase.Analytics.setAnalyticsCollectionEnabled(true) inside my AppDelegate This is how I log a custom event: func log(event: AnalyticsEvent, parameters: [String: Any]? = nil) { Analytics.logEvent(event.rawValue, parameters: parameters) } This is my out

Comments

Sign in or sign up to comment and upvote.

No comments yet.