Compatibility mode: add back empty "" values for _serving and _100g for Android app #1763
Labels
API READ
All READ APIs include Product, Search…
API
Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…)
🤳🥫 blocking mobile apps
This issues are blocking a feature on the Open Food Facts mobile apps
Empty values like sugars_serving = "" were recently removed in the nutriments hash, but this causes issues in the current OFF android app. Adding them back temporarily, only when the user_agent is "Official Android App" or "okhttp" and the ?fields parameter is passed.
Should solve issue openfoodfacts/openfoodfacts-androidapp#2620
The text was updated successfully, but these errors were encountered: