firebase / firebase-unity-sdk

The Firebase SDK for Unity
http://firebase.google.com
Apache License 2.0
201 stars 34 forks source link

[Bug] firebase doesn't select app by package name #1061

Open hoainam1593 opened 4 days ago

hoainam1593 commented 4 days ago

Description

when google-services.json contains more than 1 app, firebase doesn't choose app base on package name, it always choose one of apps no matter what package name.

Reproducing the issue

Firebase Unity SDK Version

12.1.0

Unity editor version

2022.3.17

Installation Method

Unity Package Manager

Problematic Firebase Component(s)

No response

Other Firebase Component(s) in use

No response

Additional SDKs you are using

No response

Targeted Platform(s)

Android

Unity editor platform

Windows

Scripting Runtime

Mono

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

Relevant Log Output

No response

If using CocoaPods for Apple platforms, the project's Podfile.lock

Expand Podfile.lock snippet
```yml 👀 Replace this line with the contents of your Podfile.lock! ```
argzdev commented 3 days ago

Thanks for reporting, @hoainam1593. I was able to reproduce the behavior. It looks like replacing the google-services.json will trigger to correct this behavior, but we shouldn't need to do so. That said, I'll go ahead and report this to our engineering team.