-
Notifications
You must be signed in to change notification settings - Fork 594
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
Crash with firebase-perf:20.0.0 when google-service plugin is disabled. #2707
Comments
Hi @eric-labelle thanks for reporting and for sharing the MCVE. Let me check this and will get back to you for more updates. Thanks |
Any updates on this @aguatno ? |
Hi @eric-labelle apologies for the delay here. We appreciate the thorough information that you shared here. Hi @visumickey I'd like to confirm if this is intended or not? It seems the issue is reproducible (see mcve) even with the latest SDK. I'm guessing there are compatibility problems with the version of google-services and Firebase versions. |
We have the same issue, but it concerns our UI tests that crash with the same error on version |
A quick "fix" we found was to disable the initialization of the content provider through the manifest (for UI tests only):
This helped us to bypass this bug, as we can't disable it by any other solutions proposed by Firebase... |
Thanks for the details on the bug and sorry for the delay in responding. I re-used the same project provided and I was able to reproduce the issue with the firebase performance version 20.0.0. But when I moved to the recent version of Firebase performance SDK (20.0.3), I don't see the crash happening anymore. Can you try upgrading to the recent version of the SDK and check if you are still seeing the crash? |
Hi, I just tried again bumping to |
@visumickey even now crash happens with all the latest SDKs. |
I think this was solved after #4242 was merged. We have previously used @PhilippeBoisneys's solution (and thanks a lot for that!) but after |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
The
firebase-perf
library version 20.0.0 does not seems to be working well when thegoogle-service
is disabled and crash with the following stacktrace:Using version
19.1.1
the same 2 logs are printed, but the app isn't crashing and there are no stacktracesSteps to reproduce:
Expected:
No crash
Actual:
Crash (see stacktrace below)
Workaround:
Downgrade / Keep
firebase-perf
library to version19.1.1
or
Stop disabling the
google-service
plugin for specific variants.Relevant Code:
Important
google-service
plugin is disabled fordebug
firebase-perf
plugin is disabled fordebug
debug
through/src/debug/AndroidManifest
I believe the culprit might be related to the following PR #2518 which in theory might be what's behind "Improve the launch time of the SDK." from the release notes for 20.0.0 but it's hard to say since releases are not flagged on this repository. More specifically the commit
ca3b9390689d20f39589068d9ebb73e07d955367
which add the coldStart callback fetching the instance with FirebasePerformance.getInstance()Thanks for your time and let me know if there's any other workaround you can suggest, but until then we cannot upgrade to the version
20.0.0
.The text was updated successfully, but these errors were encountered: