openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
843 stars 282 forks source link

Implement Open Food Facts contribution signup inside Smoothie #702

Closed teolemon closed 2 years ago

teolemon commented 2 years ago

What

Part of

teolemon commented 2 years ago

@monsieurtanuki would you be interested by this one ? There's some pre-existing Android code and logic to steal from. image

monsieurtanuki commented 2 years ago

@teolemon Working on it...

monsieurtanuki commented 2 years ago

Virtually done. But I tried to put trash data, and the only thing I got is a rather discrete

We'll definitely need more explicit messages. By the way there's no language parameter in OpenFoodAPIClient.register.

In the meanwhile, @teolemon could you point me to some existing pre-validation code before the actual call to register?

monsieurtanuki commented 2 years ago

Ok @teolemon I had a look at your OP links. I don't speak kotlin but I think I can handle this. Screenshot: Simulator Screen Shot - iPhone 8 Plus - 2021-12-29 at 20 16 08