firebase / firebase-unity-sdk

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

[FR]: Why require google-services.json, if possible without it? #1040

Open maxgmer opened 5 months ago

maxgmer commented 5 months ago

Description

Right now it's pain in the butt to enable one project to work with multiple Firebase environments.

To avoid doing stupid stuff like creating/deleting google-services.json files with pre-build scripts, we just use the AppOptions constructor and manually provide all of the data google-services.json contains. But iOS has annoying errors about plist missing, which forces us to keep google-services.json mock files for iOS and Android (with fake credentials).

Considering how non-optimal the file configuration UX is, why not make it optional?

P.S.If AppOptions is incomplete, would be great if you make it a complete alternative to config files.

API Proposal

No response

Firebase Product(s)

All

Targeted Platform(s)

Apple Platforms, Android

google-oss-bot commented 5 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.