I set up a new project with Firebase and enabled Crashlytics crash reporting. My Firebase console is showing crashes (so I know the SDK is configured properly):
However, when I click on the crashes, I'm presented with this dialog:
Ok...but this app doesn't exist in Fabric, nor do I have a Fabric account (actually - I did have a Fabric account, but deleted it). AND if I create a new Fabric account, there is nowhere to "add" an app anyway. What am I missing?
Make sure that the Firebase app is connected successfully before trying Crashlatics.
Complete the steps of adding Firebase, probably you were forcing the crash which disabled the Firebase from connecting to the console.
Related
As per the Firebase documentation, the contents of google-services.json are considered public. These can be easily retrieved by decompiling the apk.
If so, is there a way to prevent apps from registering with my Firebase project?
I understand that the registration works on the basis of package name. While it's not possible to publish an app with a duplicate package name, for development it is very much possible.
I created a dummy app, and my dummy app successfully registered with my production project. So, looking for a way to prevent that from happening.
You should be connecting your app to Firebase Emulator for local development.
You can go to Firebase console -> Authentication tab -> Sign-in Method tab, and remove localhost from Authorized domain, that way your app will never connect to production DB.
I created a firebase project for my newly released unity game. The analytics dashboard did not show anything so I thought there is some error.
So I deleted my app(firebase app) from the firebase project. But before deleting the app, I had removed the SHA1 fingerprint from the app. But with some research, I found that it may take 24-48 hours for firebase to start analytics, so may be there was no error, but i deleted it.
Also, there is a way to restore the firebase project, but not an app inside the project. Now can I create another firebase project or another app to receive the analytics data for the same game that I have published ?
Recently tried to start up a new project in my firebase console, to allow another developer to run an instance of our app. The web based SPA-style app is written using Firebase 2.0. Using authwithpassword, I get back an error “This Firebase project requires import into Google Cloud Platform to resume service.“.
As far as I can tell, the project does exist in my cloud platform console. Any ideas? Is this a usage limit error?
There was another question out there on this error message, but that related to a user who specifically did not want to place a project on the cloud servers. In this case, the error message is displaying even though the project is already managed on Google Cloud Platform.
For logging purposes I´d like to print to console or even display the current deploy ID (or message) of my firebase web app that is being accessed by the browser.
Firebase Hosting recently released a new REST API. You can use sites.releases.list to see what version is currently deployed.
Old answer:
Firebase deploy IDs don't appear to be available anywhere via programmatic access. The CLI doesn't support listing current or previous deploys.
My recommendation would be to go in the other direction. Have your source code in a vcs like git. When you build and deploy a new version set the vcs hash or version in the deployed code and as the message for firebase deploy. You can then log the log the source version in your code and you can manually associate that back to a release in the Firebase UI.
I'm using firebase crashlytics in my app. and I want to see to crash report in fabric dashboard, but when I try to select my app to integrate to fabric it show 'Already Linked' message.
How can I integrate my app to show report on both.