-
Notifications
You must be signed in to change notification settings - Fork 424
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
No crashlytics reporting if using same bundle id across different projects #851
Comments
I was able to reproduce this issue, so I'll leave it open as a bug. But I think I have a workaround and an explanation: You need a number of elements to associate a game or application with the Firebase backend. In addition to the I was able to work around this issue by, in my second project, adding a sha-1 key. I know that it looks like I just moved the goalposts on your issue, but this does mean that if you use different signing certificates for dev and prod you should be able to just upload the sha-1 of your production signing certificate to your production Firebase backend to get it all to work. You should be then be good leaving the SHA-1 empty on your dev backend for dev work (or using a different signing cert if you need features like Authentication). Let me know if this helps and works for you! |
@mrwillis21 @mrichards |
Any updated info on this? I spent hours trying to get Crashlytics to work without success (my project already has Firebase Analytics working for years). I have 2 projects under the same bundle ID so maybe Im affected by this problem. EDIT: nevermind, I mixed up the names, I dont have 2 projects with the same bundle ID. And I do have already the SHA keys on the project, so my problem is probably something else |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
If you have two firebase projects that use the same bundle id, then you don't receive any crash reports from Crashlytics.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? Yes
What's the issue repro rate? (eg 100%, 1/5 etc) 100%
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
We have two firebase projects - dev and prod. They share the same bundle id. I enabled crashlytics on both projects and then integrated it in the dev unity app following all the steps indicated in the docs. Even after triggering a crash repeatedly I received no crash reports in the firebase console.
I then downloaded the quickstart app and pointed it to the same dev firebase project. Again no reports came in.
I then created a fresh firebase project with a unique bundle id. I pointed this quickstart app to this new project. Reports started coming in.
I then created another fresh firebase project. This time I set its bundle id to be the same as the dev bundle id (from my original project). I pointed the quickstart app to this new project. No reports came in.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
The text was updated successfully, but these errors were encountered: