You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
create an empty firebase project
create 2 android apps with 2 different package name (1) and (2)
create an empty unity project with package name (1)
download google-services.json and place into unity project
log Debug.LogError(FirebaseApp.DefaultInstance.Options.AppId); in script
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.
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👀 Replace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: