{"id":22870378,"url":"https://github.com/1mindlabs/mivro-mobile","last_synced_at":"2025-06-12T20:32:38.891Z","repository":{"id":256085763,"uuid":"850291940","full_name":"1MindLabs/mivro-mobile","owner":"1MindLabs","description":"Mobile Application for Mivro","archived":false,"fork":false,"pushed_at":"2025-05-31T20:08:13.000Z","size":6424,"stargazers_count":2,"open_issues_count":10,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T20:31:49.485Z","etag":null,"topics":["barcode-scanner","chatbot","cosmetic","dart","flutter","food","hacktoberfest","healthcare","marketplace","meal-tracker","medicine","pet-food"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1MindLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-31T11:31:24.000Z","updated_at":"2025-05-31T20:08:17.000Z","dependencies_parsed_at":"2024-09-08T22:49:57.587Z","dependency_job_id":"77580dab-9a07-4fba-8f45-f71d62cbae65","html_url":"https://github.com/1MindLabs/mivro-mobile","commit_stats":null,"previous_names":["1mindlabs/mivro-mobile-app","1mindlabs/mivro-mobile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1MindLabs/mivro-mobile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1MindLabs%2Fmivro-mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1MindLabs%2Fmivro-mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1MindLabs%2Fmivro-mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1MindLabs%2Fmivro-mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1MindLabs","download_url":"https://codeload.github.com/1MindLabs/mivro-mobile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1MindLabs%2Fmivro-mobile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259522450,"owners_count":22870469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode-scanner","chatbot","cosmetic","dart","flutter","food","hacktoberfest","healthcare","marketplace","meal-tracker","medicine","pet-food"],"created_at":"2024-12-13T13:14:41.564Z","updated_at":"2025-06-12T20:32:38.869Z","avatar_url":"https://github.com/1MindLabs.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mivro Flutter App\n\nThis is the cross-platform mobile application for the Mivro project, built with the Flutter framework. It enables users to scan barcodes, search products, track meals, chat with a recipe chatbot, and explore a marketplace for healthier alternatives.\n\n**Maintained By**: [Rishi Chirchi](https://github.com/rishichirchi)\n\n-----\n\n## Repository Structure\n\n### Configuration and Metadata\n\n  * **`.metadata`**: Contains metadata for the Flutter project.\n  * **`analysis_options.yaml`**: Defines the linting rules and analysis options for the Dart code.\n  * **`pubspec.lock`**: Locks the versions of dependencies used in the project.\n  * **`pubspec.yaml`**: Specifies the app’s dependencies, assets, and other configurations.\n\n### Platform-Specific Directories\n\n  * **`android/`**: Contains files and configurations for building the Flutter app on Android.\n  * **`ios/`**: Contains files and configurations for building the Flutter app on iOS.\n  * **`linux/`**: Contains files and configurations for building the Flutter app on Linux.\n  * **`macos/`**: Contains files and configurations for building the Flutter app on macOS.\n  * **`web/`**: Contains files and configurations for building the Flutter app for the web.\n  * **`windows/`**: Contains files and configurations for building the Flutter app on Windows.\n\n### Assets\n\n  * **`assets/`**: Contains animations for the scanner and icons/logos used in the user interface.\n\n### Main Application Code (`lib/`)\n\n  * **`providers/`**:\n      * **`chat_history_provider.dart`**: Manages loading and maintaining the chat history.\n      * **`chat_provider.dart`**: Handles API requests to the Python server for chatbot functionalities.\n  * **`screens/`**:\n      * **`home_page.dart`**: The main landing page of the app.\n      * **`scanner_screen.dart`**: Manages the UI for the barcode scanner feature.\n      * **`marketplace_screen.dart`**: Allows users to browse and purchase healthier product alternatives.\n      * **`chat_screen.dart`**: Contains the interface for chatting with the recipe chatbot.\n      * **`tracker_screen.dart`**: Handles the meal tracker functionality, allowing users to monitor their daily nutritional intake.\n      * **`profile_screen.dart`**: Manages user profile details and settings.\n  * **`main.dart`**: The entry point for the Flutter application, setting up the app structure and initial routes.\n\n-----\n\n## 🛠️ Requirements\n\nEnsure you have the following installed:\n\n  * **Flutter SDK**: [Install Flutter](https://docs.flutter.dev/get-started/install)\n  * **Dart SDK** (comes with Flutter)\n  * **Git** (for version control)\n  * **Android Studio** or **VS Code** (with Flutter and Dart plugins)\n  * \\[Optional] **Xcode** (for iOS development on macOS)\n\nTo verify your environment setup, run:\n\n```bash\nflutter doctor\n```\n\n-----\n\n## 📦 Installation Steps\n\n### 1\\. Clone the Repository\n\n```bash\ngit clone https://github.com/your-username/your-flutter-project.git\ncd your-flutter-project\n```\n\n### 2\\. Get Dependencies\n\n```bash\nflutter pub get\n```\n\n-----\n\n## 🔧 Configuration (if applicable)\n\n### Firebase (Optional)\n\nIf using Firebase:\n\n  * Place `google-services.json` in `android/app/`\n  * Place `GoogleService-Info.plist` in `ios/Runner/`\n\n### Environment Variables (Optional)\n\nIf your app uses environment variables:\n\n  * Create a `.env` file in the root directory.\n\nExample contents:\n\n```env\nAPI_KEY=your_api_key\nBASE_URL=https://api.example.com\n```\n\n-----\n\n## 📱 Running the App\n\n### ➤ On a Real Device\n\n#### Android\n\n1.  Enable **Developer Options** on your Android phone.\n2.  Enable **USB Debugging** under Developer Options.\n3.  Connect the phone via USB.\n4.  Verify the device is detected:\n    ```bash\n    flutter devices\n    ```\n5.  Run the app:\n    ```bash\n    flutter run\n    ```\n    You may have to authorize the PC when prompted on your phone.\n\n#### iOS (macOS only)\n\n1.  Connect your iPhone.\n2.  Trust the computer from the iPhone.\n3.  Open `ios/Runner.xcworkspace` in Xcode.\n4.  Set your team ID under **Signing \u0026 Capabilities**.\n5.  Run:\n    ```bash\n    flutter run\n    ```\n\n### ➤ On an Emulator\n\n#### Android Emulator\n\n1.  Open Android Studio \\\u003e **Device Manager**.\n2.  Create a new virtual device with preferred specs.\n3.  Start the emulator.\n4.  Run:\n    ```bash\n    flutter run\n    ```\n\n#### iOS Simulator (macOS only)\n\n1.  Open Simulator from Xcode (Xcode \\\u003e Open Developer Tool \\\u003e Simulator).\n2.  Run:\n    ```bash\n    flutter run\n    ```\n\n-----\n\n## 🧪 Running Tests\n\n```bash\nflutter test\n```\n\n-----\n\n## 🧼 Cleaning the Project\n\n```bash\nflutter clean\nflutter pub get\n```\n\n-----\n\n## 📁 Project Structure\n\n```css\nlib/\n├── main.dart\n├── screens/\n├── widgets/\n├── models/\n├── providers/\n```\n\n-----\n\n## 📦 Build for Release\n\n### Android (APK)\n\n```bash\nflutter build apk --release\n```\n\n### iOS\n\n```bash\nflutter build ios --release\n```\n\n-----\n\n## 🧩 Common Issues\n\n### Android license not accepted\n\n```bash\nflutter doctor --android-licenses\n```\n\n### Xcode build fails\n\n  * Ensure CocoaPods is installed: `sudo gem install cocoapods`\n  * Open project in Xcode and resolve signing issues\n\n### Device not detected\n\n  * Ensure USB debugging is enabled\n  * Use `flutter doctor -v` for detailed info\n\n-----\n\n## 🙌 Contributions\n\nContributions are welcome\\! Please open an issue or submit a pull request.\n\n-----\n\n## 📄 License\n\nThis project is licensed under the MIT License.\n\n-----\n\n## Acknowledgments\n\n  * [Open Food Facts](https://world.openfoodfacts.org) for providing access to a comprehensive food product database.\n  * [All Contributors](https://github.com/Mivro/flutter-app/graphs/contributors) for their valuable contributions to the development and improvement of this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1mindlabs%2Fmivro-mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1mindlabs%2Fmivro-mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1mindlabs%2Fmivro-mobile/lists"}