The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
Code documentation on GitHub pages.
We have predefined run configurations for Android Studio and Visual Studio Code
In order to run the application, make sure you are in the packages/smooth_app
directory and run these commands:
flutter pub get .
On Android 🤖: flutter run -t lib/entrypoints/android/main_google_play.dart
On iOS/macOS 🍎: flutter run -t lib/entrypoints/ios/main_ios.dart
Troubleshooting🚀: If you get an error like App depends on scanner shared from path which depends on camera_platform_interface from git, version solving failed.
then run
flutter pub cache clean
or manually delete theC:\Users\~\AppData\Local\Pub\Cache
file.
Then redo the above procedure to run the app.