-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Firebase Crashlytics unusable after FirebaseApp.delete() #6130
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
Comments
Thanks for the report. Could you please let me know how it is you're instantiating Firebase, and whether you're using different GoogleService files? |
I'm experiencing the same issue, using the same GoogleService files, the only thing needed is to do
|
here's my console message:
In my case we are using |
Are you trying to delete this instance of the Firebase app when calling the .delete function, and then trying to configure it again? Does the error occur then? |
exactly |
I am experiencing this issue. What was a solution for you @demonar ? |
Hi @anphanngocvn @demonar ,
I'll update this ticket if there are any fixes to report. |
[REQUIRED] Step 1: Describe your environment
Step 2: Describe the problem
This is a very similar problem to #3411. We allow the Firebase project in use to be changed at runtime, so we can switch between production, staging and sandbox environments. In trying to migrate to the Firebase Crashlytics SDK (from Fabric) we have run in to this issue, where recreating the Firebase app results in an error from Crashlytics: "Cannot instantiate more than one instance of Crashlytics."
Steps to reproduce:
Relevant Code:
This is caused by the following code in
FIRCrashlytics.m
Commenting this code out (obviously) fixes the issue, but I'm not sure what other implications it may have.
The text was updated successfully, but these errors were encountered: