Skip to content
VaiTon edited this page Aug 29, 2021 · 26 revisions

Welcome to the Wiki for the Android app.

The main Open Food Facts wiki is https://wiki.openfoodfacts.org

Pros and cons of releasing before the 15th

Issues currently in production

  • ANR at first start
  • Not possible to click the promo for producers in the environment tab
  • kcal/kj edit issue

Issues introduced by current develop

  • The consent screen is badly integrated after the onboarding, and feels like a trick
  • The history is not working well
  • The photo manager is not working well
  • Matomo (need revamp of consent, otherwise it's a blocker)
  • Not sure how the in-app changelog behaves, and we need to be careful to populate it (or disable it temporarily)
  • The home promo has disappeared

New features introduced by current develop

💄 New onboarding that does a better job at explaining the scores


✨ New ML kit scanner hidden within settings

✨ Confirmation added when setting a photo from photos tab

✨ Lists are displayed on product

✨ Eco-Score origin prompt moved to environment tab

✨ packaging values on the environment tab

✨ Ecoscore is now displayed in scan history screen

✨ Added build number in settings

✨ Added a message if we have a category but no Eco-Score


🐛 Do not show nutrition table and nutrition per portion button if nutritional values are empty

🐛 Eco-Score icon in Summary made clickable

🐛 Deep link issue when opening product from web

🐛 Language selection in settings had no effect (https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/4192)


📈 Matomo (need revamp of consent, otherwise it's a blocker)


⚡ Better clipping for Robotoff

⚡ Query minification is back

⚡ Performance improvements

⚡ Minimize attribute payload to current language


🩹 Possibly fixed ANR at startup (to double check, it happened to me again)

🩹 Stores autosuggest in editing

🩹 Colored and translated states in the contributor tab

🩹 Removed the packager code tooltip (now inline in editing)


⬆️ Newer version of Sentry

⬆️ Refreshed translations (which ones ?)


How to update the in-app changelog ?

https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/3810 app/src/main/assets/changelog/changelog-ht-HT.json

Generate screenshots for the Play Store

To activate the screenshots buildType in IDE, uncomment def result = "screenshots" and comment the other line otherwise the folder androidTestScreenshots is not recognized as a test folder. To generate localized screenshots of the app on your local computer, launch the command gradlew connectedOffScreenshotsAndroidTest --stacktrace --info -PtestBuildType=screenshots with a physical device attached to your computer Help is welcome to improve

Problematic locales

  • app/src/main/res/values-kab-rKAB/strings.xml
  • app/src/main/res/values-sr-rCyrl-rME/strings.xml
  • app/src/main/res/values-kab/strings.xml
  • app/src/main/res/values-tzl-rTZL/strings.xml
  • app/src/main/res/values-val-rES/strings.xml
  • app/src/main/res/values-vec-rIT/strings.xml
  • app/src/main/res/values-zea-rZEA/strings.xml
  • app/src/main/res/values-kab-rKAB/strings.xml
  • app/src/main/res/values-sr-rCyrl-rME/strings.xml
  • app/src/main/res/values-kab/strings.xml
  • app/src/main/res/values-tzl-rTZL/strings.xml
  • app/src/main/res/values-val-rES/strings.xml
  • app/src/main/res/values-vec-rIT/strings.xml
  • app/src/main/res/values-zea-rZEA/strings.xml