-
Notifications
You must be signed in to change notification settings - Fork 624
Nudge customers to update if on an old Firebase Analytics #1349
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
Conversation
We can infer the customer is on an outdated version of FA if we cannot attach a listener with the "clx" origin. If that is the case, use the old "crash" origin and write a logcat warning with a nudge to upgrade.
if (analyticsConnectorHandle != null) { | ||
Logger.getLogger() | ||
.w( | ||
"Outdated version of Firebase Analytics detected. For improved " |
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.
I'm going to coordinate with the Analytics team on the specific wording, which is likely to change. I created the PR to get feedback on the general approach; don't worry about the warning message just yet.
Codecov Report
Continue to review full report at Codecov.
|
Binary Size ReportAffected SDKs
Test Logs |
...main/java/com/google/firebase/crashlytics/internal/analytics/AnalyticsConnectorReceiver.java
Outdated
Show resolved
Hide resolved
...main/java/com/google/firebase/crashlytics/internal/analytics/AnalyticsConnectorReceiver.java
Show resolved
Hide resolved
A couple small notes. Overall though I'm happy with the approach. |
We can infer the customer is on an outdated version of FA
if we cannot attach a listener with the "clx" origin. If
that is the case, use the old "crash" origin and write a
logcat warning with a nudge to upgrade.