Skip to content
Pierre Slamich edited this page Jul 30, 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

  • (Fixed) The consent screen is badly integrated after the onboarding, and feels like a trick
  • (Fixed) The history is not working well
  • (Fixed) The photo manager is not working well
  • (Fixed) 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)

New features introduced by current develop

  • Lists are displayed on product
  • Newer version of Sentry
  • Refreshed translations (which ones ?)
  • New ML kit scanner hidden within settings
  • Possibly ? Going back below the Bad Behaviour Threshold thanks to less bugs (and thus stop being demoted on the Play Store)
  • New onboarding that does a better job at explaining the scores
  • Possibly fixed ANR at startup (to double check, it happened to me again)
  • Better clipping for Robotoff
  • Matomo (need revamp of consent, otherwise it's a blocker)
  • Query minification is back
  • Performance improvements
  • confirmation added when setting a photo from photos tab
  • minimize attribute payload to current language
  • stores autosuggest in editing
  • Colored and translated states in the contributor tab
  • Removed the packager code tooltip (now inline in editing)
  • Do not show nutrition table and nutrition per portion button if nutritional values are empty
  • Eco-Score origin prompt moved to environment tab
  • packaging values on the environment tab
  • display ecoscore and nutriscore in Scan History
  • Added build number in settings
  • Add a message if we have a category but no Eco-Score
  • EcoScore icon in Summary made clickable
  • Fixed deep link issue when opening product from web

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

🌐 Help translate the app

✉️ Join the discussion on #android on Slack

⚠️ Get real-time alerts on #android-alerts

Clone this wiki locally