firebase / firebase/firebase-cpp-sdk

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

オープン
#57 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: core type: feature request
主要言語
C++
スター
326
フォーク
137
平均マージ
3日 9時間
マージ済み PR(30日)
5

説明

### Please fill in the following fields:
Pre-built SDK from the [website](https://firebase.google.com/download/cpp) 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](https://github.com/firebase/quickstart-cpp) ? N/A

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Linux デスクトップ向けの firebase::App 初期化エントリーポイントから開始し、ビルド済み SDK で google-services.json が現在どのように処理されているかを追跡します。issue では、関連するコードが匿名 namespace に隠されており、環境には CMake しかないとされています。初期化が JSON パスを受け入れられるかを明らかにし、指定されたプラットフォームでの動作を検証できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp, firebase
領域
desktop, developer-experience
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。