✨ New Features: - Firebase Firestore integration for real-time household sharing - Create household → generates code stored in cloud - Join household → looks up code from Firebase across devices - Leave household → updates member list in cloud - Cloud-first with local Hive fallback for offline 🔧 Technical Implementation: - Added firebase_core and cloud_firestore dependencies - Created FirebaseHouseholdService for all cloud operations - Updated HouseholdScreen to use Firebase for create/join/leave - Modified gradle files to support Google Services plugin - Increased minSdk to 21 for Firebase compatibility - Version bumped to 1.1.0+2 (MAJOR.MINOR.BUGFIX) 📁 New Files: - lib/features/household/services/firebase_household_service.dart - FIREBASE_SETUP.md - Complete setup instructions - android/app/google-services.json - Placeholder (needs replacement) - android/app/README_FIREBASE.md - Firebase config reminder ⚙️ Setup Required: 1. Create Firebase project at console.firebase.google.com 2. Add Android app with package name: com.sage.sage 3. Download real google-services.json 4. Enable Firestore Database in test mode 5. See FIREBASE_SETUP.md for complete instructions 🎯 How it works: - Device A creates household → stored in Firestore - Device B joins with code → reads from Firestore - Both devices now share same household ID - Inventory items sync via shared household ID 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
name: sage
|
|
description: "Smart Kitchen Management System"
|
|
publish_to: 'none'
|
|
version: 1.1.0+2
|
|
|
|
environment:
|
|
sdk: ^3.9.2
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# UI
|
|
cupertino_icons: ^1.0.8
|
|
|
|
# State Management
|
|
flutter_riverpod: ^2.6.1
|
|
|
|
# Database - Local
|
|
hive: ^2.2.3
|
|
hive_flutter: ^1.1.0
|
|
path_provider: ^2.1.5
|
|
|
|
# Utilities
|
|
intl: ^0.20.0 # Date formatting
|
|
mobile_scanner: ^5.2.3 # Barcode scanning
|
|
http: ^1.2.2 # HTTP requests for Discord webhooks
|
|
|
|
# Cloud Backend
|
|
firebase_core: ^3.8.1 # Firebase initialization
|
|
cloud_firestore: ^5.6.0 # Firestore database
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
# Code Generation
|
|
hive_generator: ^2.0.1
|
|
build_runner: ^2.4.13
|
|
|
|
# Linting
|
|
flutter_lints: ^5.0.0
|
|
|
|
# Icon Generation
|
|
flutter_launcher_icons: ^0.13.1
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- assets/icon/sage_leaf.svg
|
|
|
|
# Flutter Launcher Icons configuration
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: false
|
|
image_path: "assets/icon/sage_leaf.png"
|
|
adaptive_icon_background: "#4CAF50"
|
|
adaptive_icon_foreground: "assets/icon/sage_leaf_foreground.png"
|