firebase / firebase/firebase-cpp-sdk

[Bug] Users % targettig does not seem to work as one could think is does

Aperta
#1,038 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
api: installations api: remoteconfig type: feature request
Lingua principale
C++
Stelle
326
Fork
137
Merge medio
3g 9h
PR unite (30g)
5

Descrizione

### [REQUIRED] Please fill in the following fields:

* Pre-built SDK from the [website](https://firebase.google.com/download/cpp) or open-source from this repo: Open source from this repo
* Firebase C++ SDK version: 8.9.0
* Problematic Firebase Component: Remote config
* Other Firebase Components in use: None
* Platform you are using the C++ SDK on: Windows, Mac
* Platform you are targeting: desktop

### [REQUIRED] Please describe the issue here:

Users % targettig does not seem to work as it should. It rolls a dice every fetch so it does not have any notion of a user or client thus single client can get various configs every fetch

#### Steps to reproduce:

Configure remote config so it has a user % based condition and serve one config (config A) for 50% of users and the other (config B) for the rest. Fetch the config multiple times.
Expected: A user who got config A keeps getting config A and the one who got config B always gets config B.
Actual: The user who got config A gets config B on subsequent fetch.

#### Relevant Code:

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non vengono indicati file o test. Inizia individuando l’implementazione C++ di Remote Config per le condizioni basate sulla percentuale di utenti e riproducendo fetch ripetuti con una configurazione 50/50 su Windows o Mac. Il lavoro è completato quando un client che riceve la configurazione A o B continua a ricevere la stessa assegnazione nei fetch successivi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, firebase
Ambito
api
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.