firebase-cpp-sdk icon indicating copy to clipboard operation
firebase-cpp-sdk copied to clipboard

initializing a firebase::App object with a path to the google-services.json file?

Open slackjaw opened this issue 6 years ago • 1 comments

Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: pre-built Firebase C++ SDK version: 6.14.0 Firebase plugins in use (Auth, Database, etc.): firestore Additional SDKs you are using (Facebook, AdMob, etc.): none Platform you are using the C++ SDK on (Mac, Windows, or Linux): linux Platform you are targeting (iOS, Android, and/or desktop): desktop

Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)

Is there a option for initializing a firebase::App object with a path the the google-services.json file? It looks like all the code is available in the SDK, but hidden in an anonymous namespace. This is being used in a standard linux desktop environment with no build tools besides cmake.

Please answer the following, if applicable:

Have you been able to reproduce this issue with just the Firebase C++ quickstarts ? N/A

What's the issue repro rate? (eg 100%, 1/5 etc) N/A

slackjaw avatar May 18 '20 20:05 slackjaw

This is currently unsupported in the C++ SDK, but is a relatively popular feature request for the Android and iOS SDKs.

morganchen12 avatar May 18 '20 21:05 morganchen12