Closed teolemon closed 3 years ago
If I remember correctly, we use the ingredient taxonomy to analyze ingredients. Am I wrong?
Also, this is done in a Background Worker so it should not cause any ANR
I believe it's not used in Open Food Facts, only in Open Beauty Facts (for the ingredient tab). We also merged some foundation work by dobriseb, but it's not actively called in either of the apps. Also, I do have an ANR when first opening the app (during the onboarding slides), which is the time the download happens.
Also, I do have an ANR when first opening the app (during the onboarding slides), which is the time the download happens.
But this is not related to downloads. They should be downloaded in background and we should not wait for them. Does this happen on develop or prod?
Do we need to load the ingredient taxonomy for Open Food Facts ?
https://github.com/openfoodfacts/openfoodfacts-androidapp/blob/develop/app/src/main/java/openfoodfacts/github/scrachx/openfood/jobs/LoadTaxonomiesWorker.kt#L50