firebase / firebase/firebase-cpp-sdk
[FR] Able to create firebase::AppOptions using a path to config file
- Vorherrschende Sprache
- C++
- Sterne
- 326
- Forks
- 137
- Ø Merge
- 3 T. 9 Std.
- Gemergte PRs (30 T.)
- 5
Beschreibung
Is there any way to load configs from GoogleService-Info.plist for multi projects?
Firebase's docs says
>If the builds are part of a single target, the best option is to give both configuration files unique names (e.g. GoogleService-Info-Free.plist and GoogleService-Info-Paid.plist). Then choose at runtime which plist to load.
at https://firebase.google.com/docs/projects/multiprojects
but firebase cpp sdk supports only json and we cannot download json for ios,
so it seems we have to generate json manually, set each properties by setter or replace plist by shell script.
Beitragsleitfaden
Rechercherichtung
Beginne damit, firebase::AppOptions und den vorhandenen Pfad zum Laden der JSON-Konfiguration im Firebase C++ SDK zu finden, und vergleiche ihn anschließend mit den Hinweisen zur Verwendung mehrerer Projekte für GoogleService-Info.plist. Die Aufgabe ist abgeschlossen, wenn ein iOS-Projekt zur Laufzeit eine plist anhand ihres Pfads auswählen kann, ohne JSON manuell zu erzeugen oder jede Eigenschaft einzeln festzulegen; verifiziere das Verhalten mit den entsprechenden Konfigurationstests, sofern vorhanden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, firebase
- Bereich
- mobile-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100