Skip to content

No crashlytics reporting if using same bundle id across different projects #851

Open
@shekit

Description

@shekit

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2020.1.8f1
  • Firebase Unity SDK version: 6.16.1
  • Source you installed the SDK: UPM (.unitypackage or Unity Package Manager)
  • Problematic Firebase Component: Crashlytics (Auth, Database, etc.)
  • Other Firebase Components in use: NA (Auth, Database, etc.)
  • Additional SDKs you are using: NA (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
  • Platform you are targeting: iOS/Android (iOS, Android, and/or desktop)
  • Scripting Runtime: IL2CPP (Mono, and/or IL2CPP)

[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:

// TODO(you): code here to reproduce the problem

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions