-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Firebase analytics integration #69
base: main
Are you sure you want to change the base?
Conversation
static const crashlyticsEnabled = !kIsWeb && !debugMode; | ||
static const analyticsEnabled = !kIsWeb && !debugMode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about using just one constant for both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you talking about analyticsEnabled
and crashlyticsEnabled
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about adding also a default analytics observer for screen tracking?
await Config.getEnvFromBundleId(), | ||
), | ||
); | ||
unawaited( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable automatic collection, if it's not configured properly it can track data that is not valid
await _firebaseAnalytics.app.setAutomaticDataCollectionEnabled(false);
No description provided.